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 81920aba9..f1adfada5 100644
--- a/random.php
+++ b/random.php
@@ -51,7 +51,7 @@ SELECT DISTINCT(id)
),
'WHERE'
).'
- ORDER BY RAND(NOW())
+ ORDER BY '.DB_RANDOM_FUNCTION.'()
LIMIT '.min(50, $conf['top_number'],$user['nb_image_page']).'
;';