From e19a2ee41d4329246fd030a25600ffd883e3eed4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 5 Mar 2003 14:21:49 +0000 Subject: [PATCH] fix multidomain header-generation --- phpgwapi/inc/class.setup_html.inc.php | 4 ++-- setup/manageheader.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phpgwapi/inc/class.setup_html.inc.php b/phpgwapi/inc/class.setup_html.inc.php index 539309480d..865981e8cf 100644 --- a/phpgwapi/inc/class.setup_html.inc.php +++ b/phpgwapi/inc/class.setup_html.inc.php @@ -31,11 +31,11 @@ @reset($domains); while($domains && list($k,$v) = @each($domains)) { - if(isset($deletedomain[$v])) + if(isset($deletedomain[$k])) { continue; } - $dom = get_var('setting_'.$v,Array('POST')); + $dom = get_var('setting_'.$k,Array('POST')); $GLOBALS['header_template']->set_var('DB_DOMAIN',$v); while(list($x,$y) = @each($dom)) { diff --git a/setup/manageheader.php b/setup/manageheader.php index ea30362b7e..caf59fb8bc 100644 --- a/setup/manageheader.php +++ b/setup/manageheader.php @@ -38,11 +38,11 @@ while(list($k,$v) = @each($domains)) { $deletedomain = get_var('deletedomain',Array('POST')); - if(isset($deletedomain[$v])) + if(isset($deletedomain[$k])) { continue; } - $dom = get_var('setting_'.$v,Array('POST')); + $dom = get_var('setting_'.$k,Array('POST')); if(!$dom['config_pass']) { $errors .= '
' . lang("You didn't enter a config password for domain x",$v);