Skip to content

Commit 6f2300a

Browse files
committed
Bug 1943
1 parent 5286b91 commit 6f2300a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/lib/Sympa/Request/Handler/include.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ sub _get_data_sources {
8787
foreach my $i (@$inc) {
8888
# Special case: include_file is not paragraph.
8989
unless (ref $i) {
90-
my $name = substr [split m{/}, $i]->[-1], 0, 15;
90+
my $name = substr [split m{/}, $i]->[-1], 0, 50;
9191
$i = {name => $name, path => $i};
9292
}
9393

@@ -106,7 +106,7 @@ sub _get_data_sources {
106106
if ($ptype eq 'include_file') {
107107
# Special case: include_file is not paragraph.
108108
unshift @config, map {
109-
my $name = substr [split m{/}, $_]->[-1], 0, 15;
109+
my $name = substr [split m{/}, $_]->[-1], 0, 50;
110110
{name => $name, path => $_};
111111
} grep {
112112
$_

0 commit comments

Comments
 (0)