aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_notification.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2009-12-21 15:11:35 +0000
committerrub <rub@piwigo.org>2009-12-21 15:11:35 +0000
commitf7788450b85f8be06dc4670a2410576db6408d6d (patch)
treeee43e2507e783dc255d7a77c385a2cb6dc7d8160 /include/functions_notification.inc.php
parent8c051ea526b4c8436e5fd33c7e2deeecc278da9f (diff)
Feature 1255: modification in sql queries
correction git-svn-id: http://piwigo.org/svn/trunk@4542 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_notification.inc.php')
-rw-r--r--include/functions_notification.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php
index 082356846..77416db01 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 '.DB_RANDOM_FUNCTION.'())
+ ORDER BY '.DB_RANDOM_FUNCTION.'()
LIMIT '.$max_elements.'
;';
$dates[$i]['elements'] = array();