From a07953588395f8015f5a30b1c11ffa36e2de3c20 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 25 Feb 2015 15:44:09 +1030 Subject: [PATCH] I dun goofed --- src/Core/Repositories/EloquentPostRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Repositories/EloquentPostRepository.php b/src/Core/Repositories/EloquentPostRepository.php index db03d0a69..5366e2d3a 100644 --- a/src/Core/Repositories/EloquentPostRepository.php +++ b/src/Core/Repositories/EloquentPostRepository.php @@ -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();