fixed Linework Patchdata check

This commit is contained in:
Frank Schubert
2022-02-16 11:19:39 +01:00
parent 0edbf418cf
commit 97eac977f8
2 changed files with 3 additions and 3 deletions

View File

@@ -143,7 +143,7 @@ class Termination extends mfBaseModel {
foreach($item_names as $name) {
//$this->log->debug(__FILE__.": (Termination ".$this->id.") $name => $type == '".$this->getWorkflowvalue($name)."' (ist: '".$this->getWorkflowvalue("ist_".$name)."')");
if(empty($this->getWorkflowvalue($name)) && empty($this->getWorkflowvalue("ist_".$name))) {
if(!strlen($this->getWorkflowvalue($name)) && !strlen($this->getWorkflowvalue("ist_".$name))) {
$done = false;
break;
}
@@ -352,4 +352,4 @@ class Termination extends mfBaseModel {
return $this->$name;
}
}
}