summaryrefslogtreecommitdiff
path: root/LedgerSMB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB.pm')
-rwxr-xr-xLedgerSMB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB.pm b/LedgerSMB.pm
index 89aa2f92..083ecb8a 100755
--- a/LedgerSMB.pm
+++ b/LedgerSMB.pm
@@ -226,7 +226,7 @@ sub new {
sub _get_password {
my ($self) = shift @_;
$self->{sessionexpired} = shift @_;
- @{$self->{hidden}} = [];
+ $self->{hidden} = [];
for (keys %$self){
next if $_ =~ /(^script$|^endsession$|^password$)/;
my $attr = {};