mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-07 14:39:56 +01:00
* emailadmin: fixing not allowed userDefinedIdentities when userDefinedAccounts is allowed, fixing typos
This commit is contained in:
parent
22619083b6
commit
6f7277f7aa
@ -727,7 +727,7 @@ class emailadmin_bo extends so_sql
|
||||
}
|
||||
|
||||
$eaPreferences->userDefinedAccounts = ($data['userDefinedAccounts'] == 'yes');
|
||||
$eaPreferences->userDefinedIdentities = ($data['userDefinedIdentities'] == 'yes');
|
||||
$eaPreferences->userDefinedIdentities = ($data['userDefinedIdentities'] == 'yes' || $data['userDefinedAccounts'] == 'yes');
|
||||
$eaPreferences->ea_user_defined_signatures = ($data['ea_user_defined_signatures'] == 'yes');
|
||||
$eaPreferences->ea_default_signature = $data['ea_default_signature'];
|
||||
if(strlen($data['ea_stationery_active_templates']) > 0)
|
||||
@ -824,9 +824,9 @@ class emailadmin_bo extends so_sql
|
||||
'ea_active' => 1,
|
||||
);
|
||||
|
||||
if (empty($settings['mail_server'])) $profile['userDefinedAccounts'] = 'yes';
|
||||
if (empty($settings['mail_server'])) $profile['userDefinedIdentities'] == 'yes';
|
||||
if (empty($settings['mail_server'])) $profile['ea_user_defined_signatures'] == 'yes';
|
||||
if (empty($settings['mail_server'])) $profile['userDefinedAccounts'] = 'yes';
|
||||
if (empty($settings['mail_server'])) $profile['userDefinedIdentities'] = 'yes';
|
||||
if (empty($settings['mail_server'])) $profile['ea_user_defined_signatures'] = 'yes';
|
||||
|
||||
}
|
||||
foreach($to_parse = array(
|
||||
|
Loading…
Reference in New Issue
Block a user