diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-07-27 06:36:42 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-07-27 06:36:42 +0000 |
commit | 2678194a61aa2e87c6962614214dbf8e91c01bbd (patch) | |
tree | 3ed202cc313601182cca1a1f1f5f57b2a69cdd01 | |
parent | 7a3a12a93c8b197e984d303bfccd92a524e567dc (diff) |
replacement of short_period with recent_period
git-svn-id: http://piwigo.org/svn/trunk@460 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | include/functions_category.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php index 30abdd271..47db0e75f 100644 --- a/include/functions_category.inc.php +++ b/include/functions_category.inc.php @@ -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; |