From 9ffd6eedc833db13c3ce0854595587c11220b2a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 28 Oct 2016 17:38:48 +0200 Subject: [PATCH] SL/DB/Pricegroup: circular includes vermeiden --- SL/DB/Pricegroup.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Pricegroup.pm b/SL/DB/Pricegroup.pm index 76c644d88..eee044fec 100644 --- a/SL/DB/Pricegroup.pm +++ b/SL/DB/Pricegroup.pm @@ -5,7 +5,6 @@ use strict; use SL::DB::MetaSetup::Pricegroup; use SL::DB::Manager::Pricegroup; use SL::DB::Helper::ActsAsList; -use SL::DB::Customer; __PACKAGE__->meta->initialize; @@ -17,6 +16,7 @@ sub displayable_name { sub validate { my ($self) = @_; + require SL::DB::Customer; my @errors; -- 2.20.1