fix(wall): attempt to fix invisible post betwee...

...n page 1 and 2 with pinned post on wall
This commit is contained in:
mrilyew 2024-11-23 13:20:21 +03:00
parent 2af8447a0f
commit 74e998add4

View file

@ -53,9 +53,9 @@ class Posts
$offset--; $offset--;
} }
} }
} /*else if(!is_null($offset)) { } else if(!is_null($offset) && $pinPost) {
$offset--; $offset--;
}*/ }
$sel = $this->posts->where([ $sel = $this->posts->where([
"wall" => $user, "wall" => $user,