mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
fixed bug reported on the list: using (constant) returnvalue as reference is not possible in php4
This commit is contained in:
parent
bbff5b6fb6
commit
2ee5b02448
@ -163,8 +163,8 @@
|
||||
else // check if majors are equal and minors greater or equal
|
||||
{
|
||||
$major_depsvalue = $GLOBALS['egw_setup']->get_major($depsvalue);
|
||||
$minor_depsvalue = array_pop(explode('.',$depsvalue));
|
||||
$minor = array_pop(explode('.',$currentver));
|
||||
$tmp = explode('.',$depsvalue); $minor_depsvalue = array_pop($tmp);
|
||||
$tmp = explode('.',$currentver); $minor = array_pop($tmp);
|
||||
if ($major == $major_depsvalue && $minor <= $minor_depsvalue)
|
||||
{
|
||||
$setup_info['depends'][$depkey]['status'] = True;
|
||||
|
Loading…
Reference in New Issue
Block a user