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:
z0rglub
2004-07-27 06:36:42 +00:00
parent 7a3a12a93c
commit 2678194a61
+1 -1
View File
@@ -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;