diff --git a/C4/Matcher.pm b/C4/Matcher.pm index 294c48113b..512562c0e9 100644 --- a/C4/Matcher.pm +++ b/C4/Matcher.pm @@ -788,7 +788,7 @@ sub _get_match_keys { $key = _normalize($key); if ($component->{'length'}){ if (length($key) > $component->{'length'}){ - $key = _normalize(substr($key,$component->{'offset'},$component{'length'})); + $key = _normalize(substr($key,$component->{'offset'},$component->{'length'})); } } }