From 2678194a61aa2e87c6962614214dbf8e91c01bbd Mon Sep 17 00:00:00 2001 From: z0rglub Date: Tue, 27 Jul 2004 06:36:42 +0000 Subject: replacement of short_period with recent_period git-svn-id: http://piwigo.org/svn/trunk@460 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_category.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions_category.inc.php') 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; -- cgit v1.2.3