Fixed ports in patching

This commit is contained in:
Frank Schubert
2021-12-20 19:13:43 +01:00
parent 866a8d9c8e
commit 9c792011d5
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -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 [];
}