Hide DSN option in Preferences when smtp_server is not used (#1490666)

pull/5330/head
Aleksander Machniak 8 years ago
parent 7a73635214
commit b01689caf8

@ -11,6 +11,7 @@ CHANGELOG Roundcube Webmail
- Fix bug in long recipients list parsing for cases where recipient name contained @-char (#1490653)
- Plugin API: Added addressbook_export hook
- Fix additional_message_headers plugin compatibility with Mail_Mime >= 1.9 (#1490657)
- Hide DSN option in Preferences when smtp_server is not used (#1490666)
RELEASE 1.1.4
-------------

@ -748,7 +748,7 @@ function rcmail_user_prefs($current = null)
);
}
if (!isset($no_override['dsn_default'])) {
if (!isset($no_override['dsn_default']) && $RCMAIL->config->get('smtp_server')) {
if (!$current) {
continue 2;
}

Loading…
Cancel
Save