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.
2 parents 0215a39 + bb3e40e commit 0e2dbfdCopy full SHA for 0e2dbfd
src/app/Library/CrudPanel/Traits/AutoSet.php
@@ -32,7 +32,7 @@ public function setFromDb()
32
$this->addField($new_field);
33
}
34
35
- if (! in_array($field, $this->model->getHidden()) && ! in_array($field, $this->columns())) {
+ if (! in_array($field, $this->model->getHidden()) && ! isset($this->columns()[$field])) {
36
$this->addColumn([
37
'name' => $field,
38
'label' => $this->makeLabel($field),
0 commit comments