mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
if no domain selectbox, only store the logindomain, if its realy set
This commit is contained in:
parent
2a05447886
commit
822e08e0ff
@ -384,7 +384,8 @@
|
||||
if(!$GLOBALS['egw_info']['server']['show_domain_selectbox'])
|
||||
{
|
||||
/* trick to make domain section disapear */
|
||||
$tmpl->set_var('domain_selection','<input type="hidden" name="logindomain" value="'.htmlspecialchars($GLOBALS['egw_info']['user']['domain']).'" />');
|
||||
$tmpl->set_var('domain_selection',$GLOBALS['egw_info']['user']['domain'] ?
|
||||
'<input type="hidden" name="logindomain" value="'.htmlspecialchars($GLOBALS['egw_info']['user']['domain']).'" />' : '');
|
||||
}
|
||||
|
||||
foreach($_GET as $name => $value)
|
||||
|
Loading…
Reference in New Issue
Block a user