mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-27 15:53:19 +01:00
Fix for the compare of version function. Was not properly setting testb vars.
This commit is contained in:
parent
bf7156a0ef
commit
a1d8939e82
@ -571,14 +571,14 @@
|
|||||||
$newa = ereg_replace('pre','.',$a);
|
$newa = ereg_replace('pre','.',$a);
|
||||||
$newb = ereg_replace('pre','.',$b);
|
$newb = ereg_replace('pre','.',$b);
|
||||||
$testa = explode('.',$newa);
|
$testa = explode('.',$newa);
|
||||||
if($testa[3] == '')
|
if(@$testa[3] == '')
|
||||||
{
|
{
|
||||||
$testa[3] = 0;
|
$testa[3] = 0;
|
||||||
}
|
}
|
||||||
$testb = explode('.',$newb);
|
$testb = explode('.',$newb);
|
||||||
if($testa[3] == '')
|
if(@$testb[3] == '')
|
||||||
{
|
{
|
||||||
$testa[3] = 0;
|
$testb[3] = 0;
|
||||||
}
|
}
|
||||||
$less = 0;
|
$less = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user