diff options
author | jasonjayr <jasonjayr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-16 03:56:53 +0000 |
---|---|---|
committer | jasonjayr <jasonjayr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-16 03:56:53 +0000 |
commit | edf9b69bc47405c10af2e06764c608e4b9954947 (patch) | |
tree | 6b537b01f2eaba126b2e7a793c55b89bc54ebde9 | |
parent | f67db6795980c35d2d082e91c76be689103447af (diff) |
Merging Fix from trunk, make $self a local so calling Form->new() repeatly doesn't change one global $self
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@640 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | LedgerSMB/Form.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index cb109a56..6dcaec79 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -57,7 +57,8 @@ sub new { elsif ($ARGV[0]) { $_ = $ARGV[0]; } - + + my $self = {}; %$self = split /[&=]/; for (keys %$self) { $self->{$_} = unescape("", $self->{$_}) } |