summaryrefslogtreecommitdiff
path: root/LedgerSMB/Menu.pm
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-17 22:40:47 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-17 22:40:47 +0000
commitdbc1a4cf69cdc9f9cafe6579249ec122bb7f6007 (patch)
tree1b7271001588a621a04cdd4f647934154d8a2a4a /LedgerSMB/Menu.pm
parent5cf4336f5bfcdb3cd0b99907f8af7348146962ed (diff)
Fix scoping of the exclusion list in access_control
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1205 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/Menu.pm')
-rwxr-xr-xLedgerSMB/Menu.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Menu.pm b/LedgerSMB/Menu.pm
index 57c83245..dce0be8e 100755
--- a/LedgerSMB/Menu.pm
+++ b/LedgerSMB/Menu.pm
@@ -107,7 +107,7 @@ sub access_control {
}
my @a = split /;/, $myconfig->{acs};
- my $excl = ();
+ my %excl = ();
# remove --AR, --AP from array
grep { ( $a, $b ) = split /--/; s/--$a$//; } @a;