Skip to content

Commit 915c730

Browse files
committed
Fixed #16714 - moved custom validation out of array
Signed-off-by: snipe <[email protected]>
1 parent 0451f12 commit 915c730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/lang/en-US/validation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@
186186
*/
187187

188188
'email_array' => 'One or more email addresses is invalid.',
189+
'checkboxes' => ':attribute contains invalid options.',
190+
'radio_buttons' => ':attribute is invalid.',
189191

190192
'custom' => [
191193
'alpha_space' => 'The :attribute field contains a character that is not allowed.',
@@ -206,8 +208,6 @@
206208
'expected_checkin.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',
207209
'start_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',
208210
'end_date.date_format' => 'The :attribute must be a valid date in YYYY-MM-DD format',
209-
'checkboxes' => ':attribute contains invalid options.',
210-
'radio_buttons' => ':attribute is invalid.',
211211
'invalid_value_in_field' => 'Invalid value included in this field',
212212

213213
'ldap_username_field' => [

0 commit comments

Comments
 (0)