Change the pattern to identify tables that need prefix substitution to

mirror the drupal pattern of using braces {}.
This commit is contained in:
Tim Almdal
2009-02-28 06:37:28 +00:00
parent ad56995baf
commit c04ff8e02f
21 changed files with 100 additions and 100 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ class module_Core {
*/
static function incr_var($module_name, $name, $increment=1) {
Database::instance()->query(
"UPDATE `[vars]` SET `value` = `value` + $increment " .
"UPDATE {vars} SET `value` = `value` + $increment " .
"WHERE `module_name` = '$module_name' " .
"AND `name` = '$name'");
}