* LDAP/Mail: fix new accounts did not automatic enable mail account

Thanks to Lagrange, Joseph Fernando for the fix.
This commit is contained in:
Ralf Becker 2017-08-29 20:07:45 +02:00
parent 74f4544722
commit 1387087b62

View File

@ -248,7 +248,7 @@ class Ldap extends Mail\Smtp
if (static::MAIL_ENABLE_ATTR)
{
$newData[static::MAIL_ENABLE_ATTR] = static::MAIL_ENABLED == self::MAIL_ENABLED_USE_MAIL ?
$mailLocalAddress : static::MAIL_ENABLE_ATTR;
$mailLocalAddress : static::MAIL_ENABLED;
}
// does schema support an explicit mailbox name --> set it
if (static::MAILBOX_ATTR)