Fix for the compare of version function. Was not properly setting testb vars.

This commit is contained in:
skeeter 2001-09-03 09:50:40 +00:00
parent bf7156a0ef
commit a1d8939e82

View File

@ -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;