mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge branch 'develop-ascraeus' into develop
This commit is contained in:
commit
1b185413bf
1 changed files with 2 additions and 1 deletions
|
@ -537,7 +537,8 @@ class permission implements \phpbb\db\migration\tool\tool_interface
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = 'DELETE FROM ' . ACL_ROLES_DATA_TABLE . '
|
$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 = ' . (int) $role_id;
|
||||||
$this->db->sql_query($sql);
|
$this->db->sql_query($sql);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue