aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-10-08 17:02:48 +0000
committerrvelices <rv-github@modusoptimus.com>2006-10-08 17:02:48 +0000
commite330841a319d4ae9935101821feab4fb119038b8 (patch)
tree245b3aab53c7e23808dd68af005cf0e6b5cc9e5d /include
parentd5b1c1be9e8dff671abab816efca302917bbdece (diff)
bug 549: fix uninitialized variable PHP warning in calendar
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1557 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-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))
{