From 10f24c034b388880d3095724c2d7d2ee69ac8655 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 23 Feb 2016 03:05:35 -0500 Subject: [PATCH] Hide DSN option in Preferences when smtp_server is not used (#1490666) --- CHANGELOG | 1 + program/steps/settings/func.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 441d6ea..5e5e75d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,7 @@ - Fix bug where Archive/Junk buttons were not active after page jump with select=all mode (#1490647) - Fix bug in long recipients list parsing for cases where recipient name contained @-char (#1490653) - 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.0.8 ------------- diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 714165f..8f784b7 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -739,7 +739,7 @@ ); } - if (!isset($no_override['dsn_default'])) { + if (!isset($no_override['dsn_default']) && $RCMAIL->config->get('smtp_server')) { if (!$current) { continue 2; } -- Gitblit v1.9.1