add missing backticks

This commit is contained in:
Uwe Steinmann 2017-02-14 21:08:43 +01:00
parent 83c498418b
commit 6cb83bec25

View File

@ -1236,7 +1236,7 @@ class SeedDMS_Core_User { /* {{{ */
}else{
$queryStr = "SELECT * FROM `tblMandatoryApprovers` WHERE `userID` = " . $this->_id . " AND approverUserID = " . (int) $id;
$queryStr = "SELECT * FROM `tblMandatoryApprovers` WHERE `userID` = " . $this->_id . " AND `approverUserID` = " . (int) $id;
$resArr = $db->getResultArray($queryStr);
if (count($resArr)!=0) return;