diff --git a/Web/Models/Repositories/Posts.php b/Web/Models/Repositories/Posts.php index da1f9c8d..f5fef282 100644 --- a/Web/Models/Repositories/Posts.php +++ b/Web/Models/Repositories/Posts.php @@ -53,9 +53,9 @@ class Posts $offset--; } } - } /*else if(!is_null($offset)) { + } else if(!is_null($offset) && $pinPost) { $offset--; - }*/ + } $sel = $this->posts->where([ "wall" => $user,