mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
- fixed stupid error in addDocumentCategory()
This commit is contained in:
parent
dac3ae99ba
commit
9637842007
|
@ -1265,7 +1265,7 @@ class LetoDMS_Core_DMS {
|
|||
if (is_object($this->getDocumentCategoryByName($name))) {
|
||||
return false;
|
||||
}
|
||||
$queryStr = "INSERT INTO tblCategory (name) VALUES (".$this->db-qstr($name).")";
|
||||
$queryStr = "INSERT INTO tblCategory (name) VALUES (".$this->db->qstr($name).")";
|
||||
if (!$this->db->getResult($queryStr))
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user