mirror of
https://github.com/flarum/framework.git
synced 2025-05-31 04:25:49 +08:00
I dun goofed
This commit is contained in:
@ -100,7 +100,7 @@ class EloquentPostRepository implements PostRepositoryInterface
|
||||
|
||||
// We don't add $number as a binding because for some
|
||||
// reason doing so makes the bindings go out of order.
|
||||
->orderByRaw('ABS(CAST(number AS SIGNED) - '.(int) $number.')')
|
||||
->orderByRaw('ABS(CAST(number AS SIGNED) - '.(int) $number.')');
|
||||
});
|
||||
|
||||
return $this->scopeVisibleForUser($query, $user)->count();
|
||||
|
Reference in New Issue
Block a user