Skip to content

Commit

Permalink
Feature 1255: modification in sql queries
Browse files Browse the repository at this point in the history
correction


git-svn-id: http://piwigo.org/svn/trunk@4542 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
rub committed Dec 21, 2009
1 parent 8c051ea commit f778845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions_notification.inc.php
Expand Up @@ -463,7 +463,7 @@ function get_recent_post_dates($max_dates, $max_elements, $max_cats)
'.$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();
Expand Down

0 comments on commit f778845

Please sign in to comment.