From d402ad9bc8991a0631206930c9c5b238e5586931 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Fri, 10 Apr 2015 12:50:08 +0200 Subject: [PATCH] Parsefilter - Variable repariert yay for Tests! --- SL/Controller/Helper/ParseFilter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/Helper/ParseFilter.pm b/SL/Controller/Helper/ParseFilter.pm index c38974e40..38be03e89 100644 --- a/SL/Controller/Helper/ParseFilter.pm +++ b/SL/Controller/Helper/ParseFilter.pm @@ -155,7 +155,7 @@ sub _dispatch_custom_filters { my $i = 0; while ($i < $#tokens) { eval { - $curr_class = $curr_class->meta->relationship($tokens[$_])->class; + $curr_class = $curr_class->meta->relationship($tokens[$i])->class; ++$i; } or do { last; -- 2.20.1