mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
- getDocumentCategoriesByName() returns false if category was found
This commit is contained in:
parent
8b55a56fe2
commit
336f23293d
|
@ -935,7 +935,7 @@ class LetoDMS_Core_DMS {
|
|||
$queryStr = "SELECT * FROM tblCategory where name='".$name."'";
|
||||
|
||||
$resArr = $this->db->getResultArray($queryStr);
|
||||
if (is_bool($resArr) && !$resArr)
|
||||
if (!$resArr)
|
||||
return false;
|
||||
|
||||
$row = $resArr[0];
|
||||
|
|
Loading…
Reference in New Issue
Block a user