From bba88a1b49d0c06c0b496dedc41599712a12c8e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 10 Aug 2018 15:32:00 +0200 Subject: [PATCH] Auftrags-Controller: S:D:PartsGroup mit use einbinden, nicht mit require --- SL/Controller/Order.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 6c6b8b6ef..9c1d77366 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -15,6 +15,7 @@ use SL::DB::Order; use SL::DB::Default; use SL::DB::Unit; use SL::DB::Part; +use SL::DB::PartsGroup; use SL::DB::Printer; use SL::DB::Language; use SL::DB::RecordLink; @@ -729,7 +730,6 @@ sub action_add_item { # open the dialog for entering multiple items at once sub action_show_multi_items_dialog { - require SL::DB::PartsGroup; $_[0]->render('order/tabs/_multi_items_dialog', { layout => 0 }, all_partsgroups => SL::DB::Manager::PartsGroup->get_all); } -- 2.20.1