But 3117 : fix typo in C4::Matcher causing compilation failure.
authorRyan Higgins <rch@liblime.com>
Wed, 15 Apr 2009 17:23:21 +0000 (10:23 -0700)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 15 Apr 2009 17:49:33 +0000 (12:49 -0500)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Matcher.pm

index 294c481..512562c 100644 (file)
@@ -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'}));
                    }
                 }
             }