From 915c730dae4baf25933cca0d246d30c06448e7f8 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 17 Apr 2025 16:42:25 +0100 Subject: [PATCH] Fixed #16714 - moved custom validation out of array Signed-off-by: snipe --- resources/lang/en-US/validation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lang/en-US/validation.php b/resources/lang/en-US/validation.php index d3b5ec91d..0021a7df0 100644 --- a/resources/lang/en-US/validation.php +++ b/resources/lang/en-US/validation.php @@ -186,6 +186,8 @@ return [ */ 'email_array' => 'One or more email addresses is invalid.', + 'checkboxes' => ':attribute contains invalid options.', + 'radio_buttons' => ':attribute is invalid.', 'custom' => [ 'alpha_space' => 'The :attribute field contains a character that is not allowed.', @@ -206,8 +208,6 @@ return [ 'expected_checkin.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format', 'start_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format', 'end_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format', - 'checkboxes' => ':attribute contains invalid options.', - 'radio_buttons' => ':attribute is invalid.', 'invalid_value_in_field' => 'Invalid value included in this field', 'ldap_username_field' => [