fix line indenting

This commit is contained in:
Uwe Steinmann 2022-02-21 07:10:28 +01:00
parent 0f417a2d7b
commit 535a0b1b67

View File

@ -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)