X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/fa7a37a2e2d294b1dfe6ef5b89e5acb0f8c4eb3b..58f9197ea9026e65aefda5b320e2c81f20251a24:/SL/Controller/Part.pm?ds=inline 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) ], ); }