Commit 96cdd0a5 authored by Sergio's avatar Sergio

fix edit null transport without destination

parent a9e6315b
......@@ -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"];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment