|
|
@@ -76,12 +76,12 @@ class UpdateAccountCosQuota extends CreateAccountCosQuota
|
|
|
$account->setAttr(Account::ATTR_DISPLAY_NAME, $this->formData['display_name']);
|
|
|
if ($this->formData['forward'] == 'on') {
|
|
|
$account->setAttr(Account::ATTR_MAIL_FORWARD, $this->formData['zimbraPrefMailForwardingAddress']);
|
|
|
- $account->setAttr(Account::ATTR_DISABLE_LOCAL, true);
|
|
|
- $account->setAttr(Account::ATTR_ENABLE_FORWARD, true);
|
|
|
+ $account->setAttr(Account::ATTR_DISABLE_LOCAL, 'TRUE');
|
|
|
+ $account->setAttr(Account::ATTR_ENABLE_FORWARD, 'TRUE');
|
|
|
} else {
|
|
|
- $account->setAttr(Account::ATTR_MAIL_FORWARD, null);
|
|
|
- $account->setAttr(Account::ATTR_DISABLE_LOCAL, false);
|
|
|
- $account->setAttr(Account::ATTR_ENABLE_FORWARD, false);
|
|
|
+ $account->setAttr(Account::ATTR_MAIL_FORWARD, NULL);
|
|
|
+ $account->setAttr(Account::ATTR_DISABLE_LOCAL, 'FALSE');
|
|
|
+ $account->setAttr(Account::ATTR_ENABLE_FORWARD, 'FALSE');
|
|
|
}
|
|
|
|
|
|
/* @var $cos ClassOfService*/
|