diff options
Diffstat (limited to '')
-rw-r--r-- | include/functions_notification.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php index 58091786a..082356846 100644 --- a/include/functions_notification.inc.php +++ b/include/functions_notification.inc.php @@ -463,7 +463,7 @@ SELECT DISTINCT id, path, name, tn_ext, file '.$where_sql.' AND date_available="'.$dates[$i]['date_available'].'" AND tn_ext IS NOT NULL - ORDER BY RAND(NOW()) + ORDER BY '.DB_RANDOM_FUNCTION.'()) LIMIT '.$max_elements.' ;'; $dates[$i]['elements'] = array(); |