mirror of
https://github.com/flarum/framework.git
synced 2025-03-15 00:05:12 +08:00
I dun goofed
This commit is contained in:
parent
0a746d4a5f
commit
7d3f1078ec
@ -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…
x
Reference in New Issue
Block a user