aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-07-27 06:36:42 +0000
committerz0rglub <z0rglub@piwigo.org>2004-07-27 06:36:42 +0000
commit2678194a61aa2e87c6962614214dbf8e91c01bbd (patch)
tree3ed202cc313601182cca1a1f1f5f57b2a69cdd01 /include
parent7a3a12a93c8b197e984d303bfccd92a524e567dc (diff)
replacement of short_period with recent_period
git-svn-id: http://piwigo.org/svn/trunk@460 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/functions_category.inc.php2
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;