aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/section_init.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index 59809dad6..ce3e3a553 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -490,7 +490,7 @@ SELECT DISTINCT(id)
WHERE hit > 0
'.$forbidden.'
'.$conf['order_by'].'
- LIMIT 0, '.$conf['top_number'].'
+ LIMIT '.$conf['top_number'].'
;';
$page = array_merge(
@@ -517,7 +517,7 @@ SELECT DISTINCT(id)
WHERE average_rate IS NOT NULL
'.$forbidden.'
'.$conf['order_by'].'
- LIMIT 0, '.$conf['top_number'].'
+ LIMIT '.$conf['top_number'].'
;';
$page = array_merge(
$page,