mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 16:32:45 +08:00
I dun goofed
This commit is contained in:
parent
6a0cbbbe70
commit
a079535883
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user