aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/auth.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php
index efb92685f6..b13b1ee040 100644
--- a/phpBB/includes/acp/auth.php
+++ b/phpBB/includes/acp/auth.php
@@ -470,6 +470,9 @@ class auth_admin extends \phpbb\auth\auth
// Build role dropdown options
$current_role_id = (isset($cur_roles[$ug_id][$forum_id])) ? $cur_roles[$ug_id][$forum_id] : 0;
+ // Output current role id to template
+ $template->assign_var('S_ROLE_ID', $current_role_id);
+
@reset($roles);
while (list($role_id, $role_row) = each($roles))
{
@@ -552,6 +555,9 @@ class auth_admin extends \phpbb\auth\auth
// Build role dropdown options
$current_role_id = (isset($cur_roles[$ug_id][$forum_id])) ? $cur_roles[$ug_id][$forum_id] : 0;
+ // Output current role id to template
+ $template->assign_var('S_ROLE_ID', $current_role_id);
+
@reset($roles);
while (list($role_id, $role_row) = each($roles))
{