From e6dd37c326a644033071bdba1e18838e14acd045 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 19 Dec 2006 07:09:59 +0000 Subject: [PATCH] quitened 2 of these stupid php5.2 warnings --- phpgwapi/inc/class.html.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index f8e747f050..6d91f6e520 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -704,7 +704,7 @@ class html { $label = lang($label); } - if (($accesskey = strstr($label,'&')) && $accesskey[1] != ' ' && + if (($accesskey = @strstr($label,'&')) && $accesskey[1] != ' ' && (($pos = strpos($accesskey,';')) === false || $pos > 5)) { $label_u = str_replace('&'.$accesskey[1],''.$accesskey[1].'',$label); @@ -914,7 +914,7 @@ class html } return '
'.$title.'
'."\n\t". + (@stristr($options,'onclick="') ? ' cursor: pointer;' : '').'">'."\n\t". '
'."\n
\n"; }