diff --git a/modules/gallery/helpers/gallery_installer.php b/modules/gallery/helpers/gallery_installer.php index 49bd9bb71e..9e4e3c3504 100644 --- a/modules/gallery/helpers/gallery_installer.php +++ b/modules/gallery/helpers/gallery_installer.php @@ -377,8 +377,8 @@ static function upgrade($version) { if ($version == 13) { // Add rules for generating our thumbnails and resizes - Database::instance()->query("update g3_graphics_rules g - set operation=concat(\"gallery_graphics::\", g.operation);"); + Database::instance()->query( + "UPDATE {graphics_rules} SET `operation` = CONCAT('gallery_graphics::', `operation`);"); module::set_version("gallery", $version = 14); }