From f8937ccefc7e2b71adaa63110756af9895b1925c Mon Sep 17 00:00:00 2001 From: Sympa authors Date: Sat, 25 Jul 2020 14:58:33 +0900 Subject: [PATCH] tidyall. --- src/lib/Sympa/ConfDef.pm | 4 ++-- src/lib/Sympa/WWW/Tools.pm | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/Sympa/ConfDef.pm b/src/lib/Sympa/ConfDef.pm index 4101c835c..fb3425f8c 100644 --- a/src/lib/Sympa/ConfDef.pm +++ b/src/lib/Sympa/ConfDef.pm @@ -57,8 +57,8 @@ sub _filter { my $pnames = shift || []; return map { - my $item = $pinfo->{$_}; - my $name = join '.', @$pnames, $_; + my $item = $pinfo->{$_}; + my $name = join '.', @$pnames, $_; my @ret; if (ref $item->{format} eq 'HASH') { diff --git a/src/lib/Sympa/WWW/Tools.pm b/src/lib/Sympa/WWW/Tools.pm index 3ea10e83b..45062a52f 100644 --- a/src/lib/Sympa/WWW/Tools.pm +++ b/src/lib/Sympa/WWW/Tools.pm @@ -721,7 +721,8 @@ sub _get_css_url { my $param = {}; foreach my $p ( grep { /_color\z/ or /\Acolor_/ or /_url\z/ } - map { $_->{name} } grep { not $_->{obsolete} and $_->{name} } @Sympa::ConfDef::params + map { $_->{name} } + grep { not $_->{obsolete} and $_->{name} } @Sympa::ConfDef::params ) { $param->{$p} = Conf::get_robot_conf($robot, $p); }