From 9c792011d513b31446f3bb83773a70c10a207aad Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Mon, 20 Dec 2021 19:13:43 +0100 Subject: [PATCH] Fixed ports in patching --- Layout/andom-tec/mfLogin/Index.php | 2 +- application/Termination/Termination.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Layout/andom-tec/mfLogin/Index.php b/Layout/andom-tec/mfLogin/Index.php index eb0eb9017..05c49c691 100644 --- a/Layout/andom-tec/mfLogin/Index.php +++ b/Layout/andom-tec/mfLogin/Index.php @@ -34,7 +34,7 @@
- +
diff --git a/application/Termination/Termination.php b/application/Termination/Termination.php index 7a4e8747f..bd7cdd192 100644 --- a/application/Termination/Termination.php +++ b/application/Termination/Termination.php @@ -95,6 +95,11 @@ class Termination extends mfBaseModel { public function getLineworkportPairs() { $ports = $this->getProperty("workflowitems")["ports"]->value->value_string; + $ist_port = $this->getProperty("workflowitems")["ports"]->value->value_string; + if(strlen($ist_port)) { + $ports = $ist_port; + } + if(!$ports) { return []; }