mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-01 20:19:13 +02:00
[ticket/13544] Fixing wrong SQL query for permission_unset for roles
PHPBB3-13544
This commit is contained in:
parent
1c6ebcf02b
commit
73d1bf9fea
@ -537,7 +537,8 @@ class permission implements \phpbb\db\migration\tool\tool_interface
|
||||
}
|
||||
|
||||
$sql = 'DELETE FROM ' . ACL_ROLES_DATA_TABLE . '
|
||||
WHERE ' . $this->db->sql_in_set('auth_option_id', $to_remove);
|
||||
WHERE ' . $this->db->sql_in_set('auth_option_id', $to_remove) . '
|
||||
AND role_id = ' . $this->db->sql_escape($role_id);
|
||||
$this->db->sql_query($sql);
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user