forked from extern/egroupware
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);
|
||||
$newb = ereg_replace('pre','.',$b);
|
||||
$testa = explode('.',$newa);
|
||||
if($testa[3] == '')
|
||||
if(@$testa[3] == '')
|
||||
{
|
||||
$testa[3] = 0;
|
||||
}
|
||||
$testb = explode('.',$newb);
|
||||
if($testa[3] == '')
|
||||
if(@$testb[3] == '')
|
||||
{
|
||||
$testa[3] = 0;
|
||||
$testb[3] = 0;
|
||||
}
|
||||
$less = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user