From: Sven Schöling Date: Tue, 16 Jul 2013 08:42:02 +0000 (+0200) Subject: Erst testen, dann committen Sven... X-Git-Tag: release-3.1.0beta1~161^2~50 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ce3d9171a58add9dda469fb289a12080cbf0e040;p=kivitendo-erp.git Erst testen, dann committen Sven... --- 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