aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-10-08 17:03:49 +0000
committerrvelices <rv-github@modusoptimus.com>2006-10-08 17:03:49 +0000
commit3c6dcdf754cad2131d2d65a605e03368e1d8b102 (patch)
tree95f9416e57c9621f5e7fd80dee55dd288d9f3d24
parent31e12d0cc0813169c9c83a9fcd548f49a718b9e1 (diff)
bug 549: fix uninitialized variable PHP warning in calendar
git-svn-id: http://piwigo.org/svn/trunk@1558 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/calendar_monthly.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/calendar_monthly.class.php b/include/calendar_monthly.class.php
index 214d77cd8..b7af6794c 100644
--- a/include/calendar_monthly.class.php
+++ b/include/calendar_monthly.class.php
@@ -329,6 +329,7 @@ function build_month_calendar()
$query.= '
GROUP BY period';
+ $items=array();
$result = pwg_query($query);
while ($row = mysql_fetch_array($result))
{