mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 23:24:57 +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)
|
||||
$queryStr .= " AND `a`.`workflowdocumentcontent` = ".$this->_workflow['id'];
|
||||
$queryStr .= " ORDER BY `date`";
|
||||
$queryStr .= " ORDER BY `a`.`date`";
|
||||
$resArr = $db->getResultArray($queryStr);
|
||||
if (is_bool($resArr) && !$resArr)
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user