mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
worked around stupid php5.2 empty haystack warnings
This commit is contained in:
parent
09f556d5d4
commit
95b0f50d12
@ -51,7 +51,7 @@
|
||||
$lines = $GLOBALS['egw']->network->gethttpsocketfile('http://www.egroupware.org/currentversion');
|
||||
for($i=0; $i<count($lines); $i++)
|
||||
{
|
||||
if(strstr($lines[$i],'currentversion'))
|
||||
if(strpos($lines[$i],'currentversion') !== false)
|
||||
{
|
||||
$line_found = explode(':',chop($lines[$i]));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user