aboutsummaryrefslogtreecommitdiffstats
path: root/random.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--random.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/random.php b/random.php
index 5e3b660f4..81920aba9 100644
--- a/random.php
+++ b/random.php
@@ -52,7 +52,7 @@ SELECT DISTINCT(id)
'WHERE'
).'
ORDER BY RAND(NOW())
- LIMIT 0, '.min(50, $conf['top_number'],$user['nb_image_page']).'
+ LIMIT '.min(50, $conf['top_number'],$user['nb_image_page']).'
;';
// +-----------------------------------------------------------------------+