mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
Merge pull request #1912 from marc1706/ticket/12058
[ticket/12058] Add missing apostrophe to avatar_types migration queries
This commit is contained in:
commit
e3a0540fa6
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user