mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +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
0366a590af
commit
5227425671
@ -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