View | Details | Raw Unified | Return to bug 17915
Collapse All | Expand All

(-)a/C4/Matcher.pm (-2 / +3 lines)
Lines 816-822 sub _get_match_keys { Link Here
816
                );
816
                );
817
            }
817
            }
818
818
819
            if ($component->{'length'}>0) {
819
            if ( $component->{'offset'} > length($string) ) {
820
                $string = '';
821
            } elsif ($component->{'length'}>0) {
820
                $string= substr($string, $component->{'offset'}, $component->{'length'});
822
                $string= substr($string, $component->{'offset'}, $component->{'length'});
821
            } elsif ($component->{'offset'}) {
823
            } elsif ($component->{'offset'}) {
822
                $string= substr($string, $component->{'offset'});
824
                $string= substr($string, $component->{'offset'});
823
- 

Return to bug 17915