mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +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."'";
|
$queryStr = "SELECT * FROM tblCategory where name='".$name."'";
|
||||||
|
|
||||||
$resArr = $this->db->getResultArray($queryStr);
|
$resArr = $this->db->getResultArray($queryStr);
|
||||||
if (is_bool($resArr) && !$resArr)
|
if (!$resArr)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
$row = $resArr[0];
|
$row = $resArr[0];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user