projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USTVA Weiteren toten Code identifizieren - Werte mit Key undef ignorieren
[kivitendo-erp.git]
/
SL
/
USTVA.pm
diff --git
a/SL/USTVA.pm
b/SL/USTVA.pm
index
e4fb191
..
556698e
100644
(file)
--- a/
SL/USTVA.pm
+++ b/
SL/USTVA.pm
@@
-845,7
+845,7
@@
sub get_accounts_ustva {
$sth->execute || $form->dberror($query);
while (my $ref = $sth->fetchrow_hashref("NAME_lc")) {
- # Bug 365 solved?!
+ next unless $ref->{$category};
$ref->{amount} *= -1;
$form->{ $ref->{$category} } += $ref->{amount};
}