From 48554177ac48f70b632fffdcfc92c80259261c45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 15 Sep 2011 11:44:03 +0200 Subject: [PATCH] iterator muss resettet werden --- SL/DB/Helper/CustomVariables.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/DB/Helper/CustomVariables.pm b/SL/DB/Helper/CustomVariables.pm index 6b7a5316a..2519c3690 100644 --- a/SL/DB/Helper/CustomVariables.pm +++ b/SL/DB/Helper/CustomVariables.pm @@ -122,6 +122,7 @@ sub _all_configs { sub _overload_by_module { my ($module, %params) = @_; + keys %{ $params{overloads} }; # reset each iterator while (my ($fk, $class) = each %{ $params{overloads} }) { return ($fk, $class) if $class->meta->{META_CVARS()}->{module} eq $module; } -- 2.20.1