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

View File

@@ -34,7 +34,7 @@
<input type="text" name="Username" id="mfUsername" class="form-control" placeholder="Benutzer">
<div class="input-group-append">
<div class="input-group-text">
<span class="fas fa-envelope"></span>
<span class="fas fa-user"></span>
</div>
</div>
</div>

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 [];
}