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 '