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) --- program/steps/settings/func.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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