forked from extern/egroupware
fix multidomain header-generation
This commit is contained in:
parent
982f00b803
commit
e19a2ee41d
@ -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))
|
||||
{
|
||||
|
@ -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 .= '<br>' . lang("You didn't enter a config password for domain x",$v);
|
||||
|
Loading…
Reference in New Issue
Block a user