From 96cdd0a521768274b60424a0f4776ca557de26bb Mon Sep 17 00:00:00 2001
From: Sergio Cambra <sergio@programatica.es>
Date: Thu, 21 Aug 2014 08:55:21 -0400
Subject: [PATCH] fix edit null transport without destination
---
interface/web/mail/mail_transport_edit.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/interface/web/mail/mail_transport_edit.php b/interface/web/mail/mail_transport_edit.php
index d9ce8e8..295cfb2 100644
--- a/interface/web/mail/mail_transport_edit.php
+++ b/interface/web/mail/mail_transport_edit.php
@@ -82,7 +82,7 @@
}
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"];
--
Gitblit v1.9.1