diff --git a/LetoDMS_Core/Core/inc.ClassDMS.php b/LetoDMS_Core/Core/inc.ClassDMS.php index 5f34c025e..dac4c9210 100644 --- a/LetoDMS_Core/Core/inc.ClassDMS.php +++ b/LetoDMS_Core/Core/inc.ClassDMS.php @@ -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;