mirror of
https://github.com/flarum/core.git
synced 2025-07-25 18:51:40 +02: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