Skip to content

Commit 7f3923b

Browse files
authored
Merge pull request #6 from softbread/master
fix getStatus
2 parents d2a6272 + ca1b6ae commit 7f3923b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/WorkflowDbSource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public function __construct($config = [])
157157
*/
158158
public function getStatus($id, $model = null)
159159
{
160-
list($wId, $stId) = $this->parseStatusId($id);
160+
list($wId, $stId) = $this->parseStatusId($id, $model);
161161
$canonicalStId = $wId . self::SEPARATOR_STATUS_NAME . $stId;
162162
if (!isset($this->_s[$wId])) {
163163
$this->_s[$wId] = [];

0 commit comments

Comments
 (0)