aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/phpbb/db/migration/data/v310/avatar_types.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/avatar_types.php b/phpBB/phpbb/db/migration/data/v310/avatar_types.php
index 5750a43ddd..bdbdccf0c5 100644
--- a/phpBB/phpbb/db/migration/data/v310/avatar_types.php
+++ b/phpBB/phpbb/db/migration/data/v310/avatar_types.php
@@ -42,7 +42,7 @@ class avatar_types extends \phpbb\db\migration\migration
{
$sql = 'UPDATE ' . $this->table_prefix . "users
SET user_avatar_type = '$new'
- WHERE user_avatar_type = $old";
+ WHERE user_avatar_type = '$old'";
$this->db->sql_query($sql);
}
}
@@ -53,7 +53,7 @@ class avatar_types extends \phpbb\db\migration\migration
{
$sql = 'UPDATE ' . $this->table_prefix . "groups
SET group_avatar_type = '$new'
- WHERE group_avatar_type = $old";
+ WHERE group_avatar_type = '$old'";
$this->db->sql_query($sql);
}
}