From a1d8939e82cecfcd09f65cdfd45da6f7b5d00680 Mon Sep 17 00:00:00 2001 From: skeeter Date: Mon, 3 Sep 2001 09:50:40 +0000 Subject: [PATCH] Fix for the compare of version function. Was not properly setting testb vars. --- setup/inc/class.setup.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/inc/class.setup.inc.php b/setup/inc/class.setup.inc.php index bfa7dd2f3e..d7a43596fa 100644 --- a/setup/inc/class.setup.inc.php +++ b/setup/inc/class.setup.inc.php @@ -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;