mirror of
https://github.com/flarum/core.git
synced 2025-07-29 04:30:56 +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
|
// We don't add $number as a binding because for some
|
||||||
// reason doing so makes the bindings go out of order.
|
// 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();
|
return $this->scopeVisibleForUser($query, $user)->count();
|
||||||
|
Reference in New Issue
Block a user