matcher.pattern. starts from 0
This commit is contained in:
parent
5419db7608
commit
25c42de9e8
@ -62,8 +62,8 @@ sub on_start {
|
||||
|
||||
if ($self->x_resource('matcher.pattern')) {
|
||||
@{$self->{pattern}} = ($self->x_resource('matcher.pattern'));
|
||||
} elsif ($self->x_resource('matcher.pattern.1')) {
|
||||
my $current = 1;
|
||||
} elsif ($self->x_resource('matcher.pattern.0')) {
|
||||
my $current = 0;
|
||||
|
||||
while (defined (my $res = $self->x_resource("matcher.pattern.$current"))) {
|
||||
$res = $self->locale_decode($res);
|
||||
|
Loading…
Reference in New Issue
Block a user