mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-23 03:11:48 +02:00
fix empty account-data (caused by wrong expression) breaking mail accounts when storing
This commit is contained in:
parent
a49cc54bdd
commit
d94bdb24a6
@ -880,8 +880,8 @@ class admin_mail
|
|||||||
elseif ($content['acc_id'] > 0)
|
elseif ($content['acc_id'] > 0)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$account = Mail\Account::read($content['acc_id'], $this->is_admin && !empty($content['called_for']) ?:
|
$account = Mail\Account::read($content['acc_id'], $this->is_admin && !empty($content['called_for']) ?
|
||||||
$GLOBALS['egw_info']['user']['account_id']);
|
$content['called_for'] : $GLOBALS['egw_info']['user']['account_id']);
|
||||||
$account->getUserData(); // quota, aliases, forwards etc.
|
$account->getUserData(); // quota, aliases, forwards etc.
|
||||||
$content += $account->params;
|
$content += $account->params;
|
||||||
$content['acc_sieve_enabled'] = (string)($content['acc_sieve_enabled']);
|
$content['acc_sieve_enabled'] = (string)($content['acc_sieve_enabled']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user