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:
a54bd67
)
Auftrags-Controller: Mehrfach-Artikelauswahl: Ergebnis nur rendern, wenn Artikel da
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Fri, 13 Nov 2015 12:47:44 +0000
(13:47 +0100)
committer
G. Richardson
<information@kivitendo-premium.de>
Mon, 16 Nov 2015 15:15:59 +0000
(16:15 +0100)
SL/Controller/Order.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Order.pm
b/SL/Controller/Order.pm
index
2773f2c
..
4788066
100644
(file)
--- a/
SL/Controller/Order.pm
+++ b/
SL/Controller/Order.pm
@@
-353,8
+353,13
@@
sub action_show_multi_items_dialog {
}
sub action_multi_items_update_result {
- $_[0]->render('order/tabs/_multi_items_result', { layout => 0 },
- multi_items => $_[0]->multi_items_models->get);
+ my $multi_items = $_[0]->multi_items_models->get;
+ if (scalar @{$multi_items}) {
+ $_[0]->render('order/tabs/_multi_items_result', { layout => 0 },
+ multi_items => $multi_items);
+ } else {
+ $_[0]->render(\'', { layout => 0 }); # ') make emacs happy
+ }
}
sub action_add_multi_items {