mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 22:01:47 +01:00
handle problem with empty ActiveProfileID
This commit is contained in:
parent
6f1dd6fc41
commit
197fc098e8
@ -175,7 +175,7 @@ class felamimail_bo
|
|||||||
{
|
{
|
||||||
if ($_profileID == 0)
|
if ($_profileID == 0)
|
||||||
{
|
{
|
||||||
if (isset($GLOBALS['egw_info']['user']['preferences']['felamimail']['ActiveProfileID']))
|
if (isset($GLOBALS['egw_info']['user']['preferences']['felamimail']['ActiveProfileID']) && !empty($GLOBALS['egw_info']['user']['preferences']['felamimail']['ActiveProfileID']))
|
||||||
{
|
{
|
||||||
$profileID = (int)$GLOBALS['egw_info']['user']['preferences']['felamimail']['ActiveProfileID'];
|
$profileID = (int)$GLOBALS['egw_info']['user']['preferences']['felamimail']['ActiveProfileID'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user