projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b06ee3
)
Lokale Hashes richtig deklarieren.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 29 Jan 2007 09:53:27 +0000
(09:53 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 29 Jan 2007 09:53:27 +0000
(09:53 +0000)
SL/CA.pm
patch
|
blob
|
history
diff --git
a/SL/CA.pm
b/SL/CA.pm
index
28ffc2e
..
4f4dbde
100644
(file)
--- a/
SL/CA.pm
+++ b/
SL/CA.pm
@@
-42,7
+42,7
@@
sub all_accounts {
my ($self, $myconfig, $form) = @_;
- my
$amount = ()
;
+ my
%amount
;
# connect to database
my $dbh = $form->dbconnect($myconfig);
@@
-65,7
+65,7
@@
sub all_accounts {
$sth = $dbh->prepare($query);
$sth->execute || $form->dberror($query);
- my
$gifi = ()
;
+ my
%gifi
;
while (my ($accno, $description) = $sth->fetchrow_array) {
$gifi{$accno} = $description;
}