1
0
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:
Nathan Guse 2013-12-04 14:43:30 -08:00
commit e3a0540fa6

View File

@ -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);
}
}