mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
fix pref storing problem, when no ActiveMailProfile is selected as pref; but a default is set (and Active)
This commit is contained in:
parent
647fce9f12
commit
256740baf5
@ -487,7 +487,7 @@ class felamimail_bo
|
||||
$bopreferences->setProfileActive(false);
|
||||
if ($icServerID>0) $bopreferences->setProfileActive(true,$icServerID);
|
||||
}
|
||||
if (empty($hook_data['prefs']['ActiveProfileID'])) return lang('Error').': '.lang("Active ProfileID should not be empty");
|
||||
if (empty($hook_data['prefs']['ActiveProfileID'])&&empty($GLOBALS['egw_info']['user']['preferences']['felamimail']['ActiveProfileID'])) return lang('Error').': '.lang("Active ProfileID should not be empty");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user