From f24c9703951cfa5bbf5a5fd7acf8a97ef6631261 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Wed, 30 Jun 2010 21:04:11 -0700 Subject: [PATCH] Fix bug that prevented editing of ACL for this module --- acl/edit_acl.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/acl/edit_acl.cgi b/acl/edit_acl.cgi index f8e0a96b7..1fd566ae4 100755 --- a/acl/edit_acl.cgi +++ b/acl/edit_acl.cgi @@ -28,8 +28,8 @@ $below = &text($in{'group'} ? 'acl_title3' : 'acl_title2', "$who", &ui_print_header($below, $text{'acl_title'}, "", -r &help_file($in{'mod'}, "acl_info") ? [ "acl_info", $in{'mod'} ] : undef); -%access = $in{'group'} ? &get_group_module_acl($who, $in{'mod'}) - : &get_module_acl($who, $in{'mod'}, 1); +%maccess = $in{'group'} ? &get_group_module_acl($who, $in{'mod'}) + : &get_module_acl($who, $in{'mod'}, 1); # display the form print &ui_form_start("save_acl.cgi", "post"); @@ -63,7 +63,7 @@ if (-r "$mdir/acl_security.pl") { print &ui_table_hr() if ($in{'mod'}); &foreign_require($in{'mod'}, "acl_security.pl"); &foreign_call($in{'mod'}, "load_theme_library"); - &foreign_call($in{'mod'}, "acl_security_form", \%access); + &foreign_call($in{'mod'}, "acl_security_form", \%maccess); } print &ui_table_end();