From f99423f0ba0ec475f919305842b60d1435c901a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 16 Jul 2013 10:42:02 +0200 Subject: [PATCH] Erst testen, dann committen Sven... --- SL/Controller/Inventory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/Inventory.pm b/SL/Controller/Inventory.pm index 4336c7117..2afd911b9 100644 --- a/SL/Controller/Inventory.pm +++ b/SL/Controller/Inventory.pm @@ -216,7 +216,7 @@ sub mini_journal { my @ids = selectall_array_query($::form, $::form->get_standard_dbh, $query); my $objs; - $obj = SL::DB::Manager::Inventory->get_all(query => [ trans_id => \@ids ]) if @ids; + $objs = SL::DB::Manager::Inventory->get_all(query => [ trans_id => \@ids ]) if @ids; # at most 2 of them belong to a transaction and the qty determins in or out. # sort them for display -- 2.20.1