From 35010c30bb2ca16db03f6624d41c524f6f5a549b Mon Sep 17 00:00:00 2001 From: reinerj Date: Wed, 29 Sep 2004 20:06:41 +0000 Subject: [PATCH] Thank you to Raphael and Vinicius from Thyamad/Brazil which fix the broken update for Debian Woody. After a change between 003 and 005 it was NOT longer possible to update a Woody eGW installation. Sometimes it need only a good will to fix a problem --- phpgwapi/inc/class.setup_process.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.setup_process.inc.php b/phpgwapi/inc/class.setup_process.inc.php index 19db411d73..a5fd9958bb 100644 --- a/phpgwapi/inc/class.setup_process.inc.php +++ b/phpgwapi/inc/class.setup_process.inc.php @@ -714,7 +714,7 @@ } // is the next update the one we need? if ($success && $test[$x+1] != $success && - ($num = array_search($success,$test)) !== False) + ($num = array_search($success,$test)) !== False && $num !== null) { // do we have the needed update somewhere else in the row? // if yes, position the array-pointer just before that update and continue @@ -744,7 +744,7 @@ // is the next update the one we need? if ($success && $test[$x+1] != $success && - ($num = array_search($success,$test)) !== False) + ($num = array_search($success,$test)) !== False && $num !== null) { // do we have the needed update somewhere else in the row? // if yes, position the array-pointer just before that update and continue