diff --git a/src/components/WorkflowDbSource.php b/src/components/WorkflowDbSource.php index fb500e4..7effaeb 100644 --- a/src/components/WorkflowDbSource.php +++ b/src/components/WorkflowDbSource.php @@ -157,7 +157,7 @@ public function __construct($config = []) */ public function getStatus($id, $model = null) { - list($wId, $stId) = $this->parseStatusId($id); + list($wId, $stId) = $this->parseStatusId($id, $model); $canonicalStId = $wId . self::SEPARATOR_STATUS_NAME . $stId; if (!isset($this->_s[$wId])) { $this->_s[$wId] = [];