We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74261f1 commit 5b239c9Copy full SHA for 5b239c9
src/app/Library/CrudPanel/Traits/FieldsProtectedMethods.php
@@ -196,7 +196,7 @@ protected function overwriteFieldNameFromEntity($field)
196
protected function makeSureFieldHasAttribute($field)
197
{
198
// if there's a model defined, but no attribute
199
- // guess an attribute using the indentifiableAttribute functionality in CrudTrait
+ // guess an attribute using the identifiableAttribute functionality in CrudTrait
200
if (isset($field['model']) && ! isset($field['attribute']) && method_exists($field['model'], 'identifiableAttribute')) {
201
$field['attribute'] = call_user_func([(new $field['model']), 'identifiableAttribute']);
202
}
0 commit comments