projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Beispielscript für CSV-Import über die Kommandozeile
[kivitendo-erp.git]
/
bin
/
mozilla
/
ic.pl
diff --git
a/bin/mozilla/ic.pl
b/bin/mozilla/ic.pl
index
215ec16
..
a303781
100644
(file)
--- a/
bin/mozilla/ic.pl
+++ b/
bin/mozilla/ic.pl
@@
-1273,7
+1273,7
@@
sub generate_report {
my %subtotals = map { $_ => 0 } ('onhand', @subtotal_columns);
my %totals = map { $_ => 0 } @subtotal_columns;
my $idx = 0;
my %subtotals = map { $_ => 0 } ('onhand', @subtotal_columns);
my %totals = map { $_ => 0 } @subtotal_columns;
my $idx = 0;
- my $same_item =
$form->{parts}[0]{ $form->{sort} } if (scalar @{ $form->{parts} })
;
+ my $same_item =
@{ $form->{parts} } ? $form->{parts}[0]{ $form->{sort} } : undef
;
my $defaults = AM->get_defaults();
my $defaults = AM->get_defaults();