Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
cdf63b0e
Unverified
Commit
cdf63b0e
authored
Jan 25, 2019
by
Luc Didry
Browse files
Fix tidying
parent
c0602e17
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/List.pm
View file @
cdf63b0e
...
...
@@ -6423,10 +6423,11 @@ sub _load_include_admin_user_file {
unless (defined $hash{$k}) {
if (defined $pinfo->{$pname}{'file_format'}{$k}{'default'}
) {
$hash{$k} =
$self->_load_list_param(
$k,
$hash{$k} =
$self->_load_list_param(
$k,
$pinfo->{$pname}{'file_format'}{$k}{'default'},
$pinfo->{$pname}{'file_format'}{$k});
$pinfo->{$pname}{'file_format'}{$k}
);
}
}
## Required fields
...
...
@@ -8156,7 +8157,7 @@ sub _load_list_param {
# Empty value.
unless (defined $value and $value =~ /\S/) {
return undef; #FIXME
return undef;
#FIXME
}
## Search configuration file
...
...
@@ -8432,10 +8433,11 @@ sub _load_list_config_file {
unless (defined $hash{$k}) {
if (defined $pinfo->{$pname}{'file_format'}{$k}{'default'}
) {
$hash{$k} =
$self->_load_list_param(
$k,
$hash{$k} =
$self->_load_list_param(
$k,
$pinfo->{$pname}{'file_format'}{$k}{'default'},
$pinfo->{$pname}{'file_format'}{$k});
$pinfo->{$pname}{'file_format'}{$k}
);
}
}
...
...
src/lib/Sympa/Robot.pm
View file @
cdf63b0e
...
...
@@ -265,8 +265,8 @@ sub load_topics {
$list_of_topics
{
$robot
}{
$tree
[
0
]}{'
order
'}
=
$topic
->
{'
order
'};
}
else
{
my
$subtopic
=
join
('
/
',
@tree
[
1
..
$#tree
]);
my
$title
=
_load_topics_get_title
(
$topic
);
my
$subtopic
=
join
('
/
',
@tree
[
1
..
$#tree
]);
my
$title
=
_load_topics_get_title
(
$topic
);
my
$visibility
=
$topic
->
{'
visibility
'}
||
$default_topics_visibility
;
$list_of_topics
{
$robot
}{
$tree
[
0
]}{'
sub
'}{
$subtopic
}
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment