[ticket/11088] Copy a_styles permission for a_extensions

PHPBB3-11088
This commit is contained in:
David King 2012-12-12 19:39:48 -05:00
parent 61adfa5026
commit 8e4c1526fc

View file

@ -2899,7 +2899,7 @@ function change_database_data(&$no_updates, $version)
$auth_admin->acl_add_option(array('global' => array('a_extensions')));
// Now the tricky part, filling the permission
$old_id = $auth_admin->acl_options['id']['a_'];
$old_id = $auth_admin->acl_options['id']['a_styles'];
$new_id = $auth_admin->acl_options['id']['a_extensions'];
$tables = array(ACL_GROUPS_TABLE, ACL_ROLES_DATA_TABLE, ACL_USERS_TABLE);