mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 12:58:46 +01:00
fix multidomain header-generation
This commit is contained in:
parent
982f00b803
commit
e19a2ee41d
@ -31,11 +31,11 @@
|
|||||||
@reset($domains);
|
@reset($domains);
|
||||||
while($domains && list($k,$v) = @each($domains))
|
while($domains && list($k,$v) = @each($domains))
|
||||||
{
|
{
|
||||||
if(isset($deletedomain[$v]))
|
if(isset($deletedomain[$k]))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$dom = get_var('setting_'.$v,Array('POST'));
|
$dom = get_var('setting_'.$k,Array('POST'));
|
||||||
$GLOBALS['header_template']->set_var('DB_DOMAIN',$v);
|
$GLOBALS['header_template']->set_var('DB_DOMAIN',$v);
|
||||||
while(list($x,$y) = @each($dom))
|
while(list($x,$y) = @each($dom))
|
||||||
{
|
{
|
||||||
|
@ -38,11 +38,11 @@
|
|||||||
while(list($k,$v) = @each($domains))
|
while(list($k,$v) = @each($domains))
|
||||||
{
|
{
|
||||||
$deletedomain = get_var('deletedomain',Array('POST'));
|
$deletedomain = get_var('deletedomain',Array('POST'));
|
||||||
if(isset($deletedomain[$v]))
|
if(isset($deletedomain[$k]))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$dom = get_var('setting_'.$v,Array('POST'));
|
$dom = get_var('setting_'.$k,Array('POST'));
|
||||||
if(!$dom['config_pass'])
|
if(!$dom['config_pass'])
|
||||||
{
|
{
|
||||||
$errors .= '<br>' . lang("You didn't enter a config password for domain x",$v);
|
$errors .= '<br>' . lang("You didn't enter a config password for domain x",$v);
|
||||||
|
Loading…
Reference in New Issue
Block a user