mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix sql statement in setOwner()
This commit is contained in:
parent
fd5b5034db
commit
c74caf1d43
|
@ -82,7 +82,7 @@ class SeedDMS_Core_KeywordCategory {
|
|||
function setOwner($user) {
|
||||
$db = $this->_dms->getDB();
|
||||
|
||||
$queryStr = "UPDATE tblKeywordCategories SET owner = " . $user->getID() . " WHERE id " . $this->_id;
|
||||
$queryStr = "UPDATE tblKeywordCategories SET owner = " . $user->getID() . " WHERE id = " . $this->_id;
|
||||
if (!$db->getResult($queryStr))
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user