aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Submit/Check/Recency.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Check/Recency.pm b/lib/Youri/Submit/Check/Recency.pm
index 31a0b41..54c1c52 100644
--- a/lib/Youri/Submit/Check/Recency.pm
+++ b/lib/Youri/Submit/Check/Recency.pm
@@ -49,7 +49,7 @@ sub run {
push(
@errors,
"Current or newer revision(s) already exists in $section for $target: " .
- join(', ', map { $_->get_revision } @revisions)
+ join(', ', map { $_->get_revision } @default_revisions)
);
}
$define->{section} = $defined_section;