From c6640c044e3476dd09bc7ae707867a3bd85c2eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Sat, 2 Dec 2006 11:04:30 +0000 Subject: [PATCH] kill php5.2 warnings --- phpgwapi/inc/class.jscalendar.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.jscalendar.inc.php b/phpgwapi/inc/class.jscalendar.inc.php index 9778a78ca0..da1bdf485f 100644 --- a/phpgwapi/inc/class.jscalendar.inc.php +++ b/phpgwapi/inc/class.jscalendar.inc.php @@ -44,7 +44,7 @@ class jscalendar $this->jscalendar_url = $GLOBALS['egw_info']['server']['webserver_url'].'/phpgwapi/js/'.$path; $this->dateformat = $GLOBALS['egw_info']['user']['preferences']['common']['dateformat']; - if ($do_header && !strstr($GLOBALS['egw_info']['flags']['java_script'],'jscalendar')) + if ($do_header && !@strstr($GLOBALS['egw_info']['flags']['java_script'],'jscalendar')) { $GLOBALS['egw_info']['flags']['java_script'] .= '