mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-23 19:31:53 +02:00
kill php5.2 warnings
This commit is contained in:
parent
8e647edc80
commit
c6640c044e
@ -44,7 +44,7 @@ class jscalendar
|
|||||||
$this->jscalendar_url = $GLOBALS['egw_info']['server']['webserver_url'].'/phpgwapi/js/'.$path;
|
$this->jscalendar_url = $GLOBALS['egw_info']['server']['webserver_url'].'/phpgwapi/js/'.$path;
|
||||||
$this->dateformat = $GLOBALS['egw_info']['user']['preferences']['common']['dateformat'];
|
$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'] .=
|
$GLOBALS['egw_info']['flags']['java_script'] .=
|
||||||
'<link rel="stylesheet" type="text/css" media="all" href="'.$this->jscalendar_url.'/calendar-blue.css" title="blue" />
|
'<link rel="stylesheet" type="text/css" media="all" href="'.$this->jscalendar_url.'/calendar-blue.css" title="blue" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user