projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Datenbankupdate aus Admin.pl heraus deaktiviert. Workaround Bug 435
[kivitendo-erp.git]
/
SL
/
AM.pm
diff --git
a/SL/AM.pm
b/SL/AM.pm
index
3e78347
..
5a68426
100644
(file)
--- a/
SL/AM.pm
+++ b/
SL/AM.pm
@@
-80,12
+80,12
@@
sub get_account {
# get taxkeys and description
$query = qq§SELECT id, taxkey,id||'--'||taxkey AS tax, taxdescription
# get taxkeys and description
$query = qq§SELECT id, taxkey,id||'--'||taxkey AS tax, taxdescription
- FROM tax§;
+ FROM tax
ORDER BY taxkey
§;
$sth = $dbh->prepare($query);
$sth->execute || $form->dberror($query);
$sth = $dbh->prepare($query);
$sth->execute || $form->dberror($query);
-
- $
ref = $sth->fetchrow_hashref(NAME_lc)
;
-
+
+ $
form->{TAXKEY} = []
;
+
while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
push @{ $form->{TAXKEY} }, $ref;
}
while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
push @{ $form->{TAXKEY} }, $ref;
}