From 96cdd0a521768274b60424a0f4776ca557de26bb Mon Sep 17 00:00:00 2001 From: Sergio Cambra Date: Thu, 21 Aug 2014 14:55:21 +0200 Subject: [PATCH] fix edit null transport without destination --- interface/web/mail/mail_transport_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/web/mail/mail_transport_edit.php b/interface/web/mail/mail_transport_edit.php index d9ce8e856..295cfb2e9 100644 --- a/interface/web/mail/mail_transport_edit.php +++ b/interface/web/mail/mail_transport_edit.php @@ -82,7 +82,7 @@ class page_action extends tform_actions { } if(!empty($tmp_parts[2])) { $dest = @$tmp_parts[1].':'.@$tmp_parts[2]; - } elseif(!empty($tmp_parts[1])) { + } elseif(!empty($tmp_parts[1]) || $this->dataRecord["transport"] == ":") { $dest = $tmp_parts[1]; } else { $dest = $this->dataRecord["transport"]; -- GitLab