mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
replacement of short_period with recent_period
git-svn-id: http://piwigo.org/svn/trunk@460 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -599,7 +599,7 @@ SELECT COUNT(DISTINCT(id)) AS nb_total_images
|
||||
$page['title'] = $lang['recent_pics_cat_title'];
|
||||
// We must find the date corresponding to :
|
||||
// today - $conf['periode_courte']
|
||||
$date = time() - 60*60*24*$user['short_period'];
|
||||
$date = time() - 60*60*24*$user['recent_period'];
|
||||
$page['where'] = " WHERE date_available > '";
|
||||
$page['where'].= date( 'Y-m-d', $date )."'";
|
||||
if ( isset( $forbidden ) ) $page['where'].= ' AND '.$forbidden;
|
||||
|
||||
Reference in New Issue
Block a user