mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-13 12:31:36 +00:00
fix line indenting
This commit is contained in:
parent
0f417a2d7b
commit
535a0b1b67
|
@ -6936,7 +6936,7 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
|||
/**
|
||||
* Get the latest workflow log entry for the document content within the
|
||||
* workflow. Even after finishing the workflow (when the document content
|
||||
* does not have workflow set anymore) this function returns the last
|
||||
* does not have a workflow set anymore) this function returns the last
|
||||
* log entry.
|
||||
*
|
||||
* @return object
|
||||
|
@ -6952,7 +6952,7 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
|||
return false;
|
||||
*/
|
||||
$queryStr=
|
||||
"SELECT * FROM `tblWorkflowLog` WHERE `workflowdocumentcontent` = ". $this->_workflow['id'];
|
||||
"SELECT `a`.*, `b`.`workflow`, `b`.`document`, `b`.`version` FROM `tblWorkflowLog` `a` LEFT JOIN `tblWorkflowDocumentContent` `b` ON `a`.`workflowdocumentcontent` = `b`.`id` WHERE `b`.`version`='".$this->_version ."' AND `b`.`document` = '". $this->_document->getID() ."'";
|
||||
$queryStr .= " ORDER BY `id` DESC LIMIT 1";
|
||||
$resArr = $db->getResultArray($queryStr);
|
||||
if (is_bool($resArr) && !$resArr)
|
||||
|
|
Loading…
Reference in New Issue
Block a user