Fix bug with "Settings::update" method.

This commit is contained in:
Dmitriy Simushev 2014-10-29 14:35:40 +00:00
parent a37018aab6
commit bf483e4abc

View File

@ -174,6 +174,7 @@ class Settings
"INSERT INTO {config} (vckey) VALUES (?)", "INSERT INTO {config} (vckey) VALUES (?)",
array($key) array($key)
); );
$instance->settingsInDb[$key] = true;
} }
$db->query( $db->query(
"UPDATE {config} SET vcvalue=? WHERE vckey=?", "UPDATE {config} SET vcvalue=? WHERE vckey=?",