aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Submit/Action/Mail.pm4
-rw-r--r--lib/Youri/Submit/Reject/Mail.pm2
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/Youri/Submit/Action/Mail.pm b/lib/Youri/Submit/Action/Mail.pm
index 6d9d0d8..adbddf7 100644
--- a/lib/Youri/Submit/Action/Mail.pm
+++ b/lib/Youri/Submit/Action/Mail.pm
@@ -116,9 +116,7 @@ sub get_content {
return
$information . "\n" .
$last_change->[Youri::Package::CHANGE_AUTHOR] . ":\n" .
- join(
- '', map { "- $_\n" } @{$last_change->[Youri::Package::CHANGE_TEXT]}
- );
+ $last_change->[Youri::Package::CHANGE_TEXT];
}
diff --git a/lib/Youri/Submit/Reject/Mail.pm b/lib/Youri/Submit/Reject/Mail.pm
index c20a832..35889f7 100644
--- a/lib/Youri/Submit/Reject/Mail.pm
+++ b/lib/Youri/Submit/Reject/Mail.pm
@@ -62,7 +62,7 @@ sub run {
my $information = $package->get_information();
my $last_change = $package->get_last_change();
my $author = $last_change->[Youri::Package::CHANGE_AUTHOR] if $last_change;
- my $list = join('', map { "- $_\n" } @{$last_change->[Youri::Package::CHANGE_TEXT]}) if $last_change;
+ my $list = $last_change->[Youri::Package::CHANGE_TEXT] if $last_change;
my $content =
"Errors: \n\n" . join("\n", map {
( "* $_", (map { " - $_" } @{$errors->{$_}}), "\n");