Skip to content

Commit 96cdd0a

Browse files
committed
fix edit null transport without destination
1 parent a9e6315 commit 96cdd0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/mail/mail_transport_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function onShowEnd() {
8282
}
8383
if(!empty($tmp_parts[2])) {
8484
$dest = @$tmp_parts[1].':'.@$tmp_parts[2];
85-
} elseif(!empty($tmp_parts[1])) {
85+
} elseif(!empty($tmp_parts[1]) || $this->dataRecord["transport"] == ":") {
8686
$dest = $tmp_parts[1];
8787
} else {
8888
$dest = $this->dataRecord["transport"];

0 commit comments

Comments
 (0)