aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_notification.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_notification.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php
index c744e046b..5462f43e2 100644
--- a/include/functions_notification.inc.php
+++ b/include/functions_notification.inc.php
@@ -478,6 +478,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())
LIMIT 0,'.$max_elements.'
;';
$dates[$i]['elements'] = array();