mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +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) {
|
function setOwner($user) {
|
||||||
$db = $this->_dms->getDB();
|
$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))
|
if (!$db->getResult($queryStr))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user