X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=C4%2FMatcher.pm;h=512562c0e9c9c439f741ef0db36d0da005de31f7;hb=4199029511756e07fca69af45d0ba8b463ac1b1f;hp=294c48113b1fc3e148d7f9973e69b153dcdd8a55;hpb=d63cec5608b7052e74f8eb0dd02669449639c241;p=koha.git 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'})); } } }