mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 21:51:32 +00:00
fix getDocumentsByCategory()
didn't return the documents
This commit is contained in:
parent
cf193adfff
commit
d1ffd8db1a
|
@ -108,7 +108,7 @@ class SeedDMS_Core_DocumentCategory {
|
||||||
|
|
||||||
$documents = array();
|
$documents = array();
|
||||||
foreach ($resArr as $row) {
|
foreach ($resArr as $row) {
|
||||||
array_push($documents, $this->_dms->getDocument($row["id"]));
|
array_push($documents, $this->_dms->getDocument($row["documentID"]));
|
||||||
}
|
}
|
||||||
return $documents;
|
return $documents;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user