X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/fa7a37a2e2d294b1dfe6ef5b89e5acb0f8c4eb3b..9d015fd3a98cdfd59863a7d2908d3887099107a7:/SL/Controller/Part.pm diff --git a/SL/Controller/Part.pm b/SL/Controller/Part.pm index 97c0159cc..c8b0c311b 100644 --- a/SL/Controller/Part.pm +++ b/SL/Controller/Part.pm @@ -71,7 +71,7 @@ sub action_part_picker_result { } sub init_parts { - $_[0]->models->get (with_objects => [ qw(unit_obj) ]); + $_[0]->models->get; } sub init_models { @@ -86,7 +86,8 @@ sub init_models { dir => 1, }, partnumber => t8('Partnumber'), - } + }, + with_objects => [ qw(unit_obj) ], ); }