mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) by preventing empty html value being processed
This commit is contained in:
parent
49b2313cfd
commit
1f28336702
@ -555,7 +555,7 @@ class Html
|
||||
$searchFor = '<pre>';
|
||||
$pos = stripos($html,$searchFor);
|
||||
}
|
||||
if ($pos === false)
|
||||
if ($pos === false || !$html)
|
||||
{
|
||||
return $html;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user