Bug 6679: (follow-up) fix 9 perlcritic violations in C4/TmplTokenType.pm
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
parent
f2eb968145
commit
8ca35dc7a9
2 changed files with 10 additions and 10 deletions
|
@ -92,7 +92,7 @@ sub set_children {
|
|||
# FIXME: DIRECTIVE is not necessarily TMPL_VAR !!
|
||||
sub parameters_and_fields {
|
||||
my $this = shift;
|
||||
return map { $_->type == C4::TmplTokenType::DIRECTIVE? $_:
|
||||
return map { $_->type == C4::TmplTokenType::DIRECTIVE() ? $_:
|
||||
($_->type == C4::TmplTokenType::TAG
|
||||
&& $_->string =~ /^<input\b/is)? $_: ()}
|
||||
@{$this->{'_kids'}};
|
||||
|
|
Loading…
Reference in a new issue