Skip to content

A free open source IT asset/license management system

Fixed #16714 - moved custom validation out of array

snipe915c730dae4b
diff --git a/resources/lang/en-US/validation.php b/resources/lang/en-US/validation.php
index d3b5ec91d2..0021a7df0a 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' => [