Skip to content

Commit

Permalink
a user not registered will have negative username value, filter out
Browse files Browse the repository at this point in the history
  • Loading branch information
jessewoo committed Feb 7, 2025
1 parent 3229547 commit 1d4c1d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function listTask() {
$entries = Member::all()
->whereEquals('block', 0)
->whereEquals('activation', 1)
->where('email', '!=', '[email protected]')
->where('username', 'NOT LIKE', '-%')
->where('approved', '>', 0);

if ($search) {
Expand Down

0 comments on commit 1d4c1d8

Please sign in to comment.