mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
Switch to long version compare function; The check now works again.
This commit is contained in:
parent
5a548e387d
commit
4cbaeb8d1d
4
home.php
4
home.php
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user