projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Zeilenumbrüche als letztes Zeichen bei part.description, part.notes beim Speichern...
[kivitendo-erp.git]
/
SL
/
DB
/
PurchaseInvoice.pm
diff --git
a/SL/DB/PurchaseInvoice.pm
b/SL/DB/PurchaseInvoice.pm
index
01885e7
..
61d9355
100644
(file)
--- a/
SL/DB/PurchaseInvoice.pm
+++ b/
SL/DB/PurchaseInvoice.pm
@@
-32,8
+32,7
@@
sub items { goto &invoiceitems; }
sub items_sorted {
my ($self) = @_;
- my @sorted = sort {$a->id <=> $b->id } @{ $self->items };
- return wantarray ? @sorted : \@sorted;
+ return [ sort {$a->id <=> $b->id } @{ $self->items } ];
}
sub is_sales {