mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-23 07:15:50 -04:00
Change the pattern to identify tables that need prefix substitution to
mirror the drupal pattern of using braces {}.
This commit is contained in:
@@ -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'");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user