From 76fcc5ea192012bc066eff949d6ca424c7d4d1bc Mon Sep 17 00:00:00 2001 From: Timothy Miles-Board Date: Tue, 17 Feb 2015 11:12:49 +0000 Subject: [PATCH] Fix typo --- cfg/cfg.d/zz_rioxx2.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg/cfg.d/zz_rioxx2.pl b/cfg/cfg.d/zz_rioxx2.pl index 208919b..837ea3a 100644 --- a/cfg/cfg.d/zz_rioxx2.pl +++ b/cfg/cfg.d/zz_rioxx2.pl @@ -546,7 +546,7 @@ if( $value && !EPrints::RIOXX2::Utils::is_iso_8601_date( $value ) ) { - push @problems, $repo->html_phrase( "rioxx2_validate_rioxx2_dateAccepted:not_iso_8601_date" ); + return $repo->html_phrase( "rioxx2_validate_rioxx2_dateAccepted:not_iso_8601_date" ); } return;