Skip to content

Commit 49426d3

Browse files
committed
Fix a notice
1 parent d611ae6 commit 49426d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventListener/BuildMetaModelOperationsListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function handle(BuildMetaModelOperationsEvent $event)
143143
}
144144
$allProps = $event->getScreen()['properties'];
145145
$properties = \array_map(function ($property) {
146-
return $property['col_name'];
146+
return ($property['col_name'] ?? null);
147147
}, $allProps);
148148
foreach ($event->getMetaModel()->getAttributes() as $attribute) {
149149
if (!$this->wantToAdd($attribute, $properties)) {

0 commit comments

Comments
 (0)