We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b77af6 commit 37d3273Copy full SHA for 37d3273
src/ProcessMaker/Nayra/Storage/BpmnDocument.php
@@ -712,7 +712,7 @@ public function getElementInstanceById($id)
712
? $element->getBpmnElementInstance()
713
: null
714
);
715
- if ($this->bpmnElements[$id] === null && $element === null) {
+ if ($this->bpmnElements[$id] === null && empty($element)) {
716
throw new ElementNotFoundException($id);
717
}
718
0 commit comments