mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
fix sql statement to retrieve workflow log
This commit is contained in:
parent
8ea8c0086e
commit
f1fb23c7e7
|
@ -6080,7 +6080,7 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
||||||
}
|
}
|
||||||
if($this->_workflow)
|
if($this->_workflow)
|
||||||
$queryStr .= " AND `a`.`workflowdocumentcontent` = ".$this->_workflow['id'];
|
$queryStr .= " AND `a`.`workflowdocumentcontent` = ".$this->_workflow['id'];
|
||||||
$queryStr .= " ORDER BY `date`";
|
$queryStr .= " ORDER BY `a`.`date`";
|
||||||
$resArr = $db->getResultArray($queryStr);
|
$resArr = $db->getResultArray($queryStr);
|
||||||
if (is_bool($resArr) && !$resArr)
|
if (is_bool($resArr) && !$resArr)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user