diff --git a/root/portal/includes/functions.php b/root/portal/includes/functions.php index 6ab7c12b..268419fe 100644 --- a/root/portal/includes/functions.php +++ b/root/portal/includes/functions.php @@ -243,7 +243,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le if ($number_of_posts <> 0) { - $result = $db->sql_query($sql, $number_of_posts, $start); + $result = $db->sql_query_limit($sql, $number_of_posts, $start); } else { $result = $db->sql_query($sql); }