File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/app/Library/CrudPanel/Traits Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -259,12 +259,12 @@ protected function makeSureSubfieldsHaveNecessaryAttributes($field)
259259 }
260260
261261 if (! is_multidimensional_array ($ field ['subfields ' ], true )) {
262- abort (500 , 'Subfields of « ' .$ field ['name ' ].'» are malformed. Make sure you provide an array of subfields ' );
262+ abort (500 , 'Subfields of « ' .$ field ['name ' ].'» are malformed. Make sure you provide an array of subfields. ' );
263263 }
264264
265265 foreach ($ field ['subfields ' ] as $ key => $ subfield ) {
266266 if (empty ($ subfield ) || ! isset ($ subfield ['name ' ])) {
267- abort (500 , 'Subfield name can \'t be empty ' );
267+ abort (500 , 'A subfield of « ' . $ field [ ' name ' ]. ' » is malformed. Subfield attribute name can \'t be empty. ' );
268268 }
269269
270270 // make sure the field definition is an array
You can’t perform that action at this time.
0 commit comments