- fixed stupid error in addDocumentCategory()

This commit is contained in:
steinm 2012-10-13 19:20:40 +00:00
parent dac3ae99ba
commit 9637842007

View File

@ -1265,7 +1265,7 @@ class LetoDMS_Core_DMS {
if (is_object($this->getDocumentCategoryByName($name))) { if (is_object($this->getDocumentCategoryByName($name))) {
return false; 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)) if (!$this->db->getResult($queryStr))
return false; return false;