trying to hide transient error in php3

This commit is contained in:
Miles Lott 2002-02-20 03:45:35 +00:00
parent 9e0d7f1d7a
commit cbf5593ca0

View File

@ -125,7 +125,7 @@
$lines = $GLOBALS['phpgw']->network->gethttpsocketfile('http://www.phpgroupware.org/currentversion');
for ($i=0; $i<count($lines); $i++)
{
if (ereg('currentversion',$lines[$i]))
if(@ereg('currentversion',$lines[$i]))
{
$line_found = explode(':',chop($lines[$i]));
}