From ab2ec1d88ebb672818619727b67189ca686b73d8 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 2 Nov 2015 00:55:32 +0100 Subject: Fix printing revisions in error message of Check::Recency Merge of manual edit on valstar.mageia.from unknown gruik author. --- lib/Youri/Submit/Check/Recency.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Youri/Submit/Check/Recency.pm b/lib/Youri/Submit/Check/Recency.pm index b34a0eb..31a0b41 100644 --- a/lib/Youri/Submit/Check/Recency.pm +++ b/lib/Youri/Submit/Check/Recency.pm @@ -29,7 +29,7 @@ sub run { push( @errors, "Current or newer revision(s) already exists in $section for $target: " . - join(', ', @revisions) + join(', ', map { $_->get_revision } @revisions) ); } @@ -49,7 +49,7 @@ sub run { push( @errors, "Current or newer revision(s) already exists in $section for $target: " . - join(', ', @default_revisions) + join(', ', map { $_->get_revision } @revisions) ); } $define->{section} = $defined_section; -- cgit v1.2.1