From 3aff4f0bfec650d7a080b919b299ddcf6fc6ee59 Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 24 Feb 2006 01:16:30 +0000 Subject: fix: remove all php warnings and notices git-svn-id: http://piwigo.org/svn/trunk@1056 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/calendar_base.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/calendar_base.class.php') diff --git a/include/calendar_base.class.php b/include/calendar_base.class.php index 26472bf1b..e9194eb90 100644 --- a/include/calendar_base.class.php +++ b/include/calendar_base.class.php @@ -162,7 +162,7 @@ SELECT DISTINCT('.$sql_func.'('.$this->date_field.')'.$sql_offset $nav_bar = $this->get_nav_bar_from_items( $url_base, $level_items, - $requested[$level], + isset($requested[$level]) ? $requested[$level] : null, 'cal', true, $labels -- cgit v1.2.3