Switch to long version compare function; The check now works again.

This commit is contained in:
Miles Lott 2004-01-26 22:03:26 +00:00
parent 5a548e387d
commit 4cbaeb8d1d

View File

@ -132,10 +132,10 @@
$line_found = explode(':',chop($lines[$i]));
}
}
if($GLOBALS['phpgw']->common->cmp_version($GLOBALS['phpgw_info']['server']['versions']['phpgwapi'],$line_found[1]))
if($GLOBALS['phpgw']->common->cmp_version_long($GLOBALS['phpgw_info']['server']['versions']['phpgwapi'],$line_found[1]))
{
echo '<p>There is a new version of eGroupWare available. <a href="'
. 'http://www.egroupware.org">http://www.egroupware.org</a>';
. 'http://www.egroupware.org">http://www.egroupware.org</a></p>';
}
$_found = False;