Skip to content

Commit

Permalink
Merge pull request #594 from contao-community-alliance/hotfix/fix_php…
Browse files Browse the repository at this point in the history
…warning_treepicker

Fix phpwarning treepicker
  • Loading branch information
zonky2 authored Jan 6, 2023
2 parents 1780407 + 67d4f80 commit 36a3c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Contao/View/Contao2BackendView/TreePicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ public function __get($key)
return $this->titleIcon;

case 'mandatory':
return $this->arrConfiguration['mandatory'];
return $this->arrConfiguration['mandatory'] ?? false;

case 'orderField':
return $this->orderField;
Expand Down

0 comments on commit 36a3c66

Please sign in to comment.