Skip to content

Commit

Permalink
Fixed PHP8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jul 5, 2022
1 parent d7190e4 commit c3a9bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/modules/isotope/library/Isotope/Model/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ public static function getCustomerDefinedFields()
$arrDCA = &$GLOBALS['TL_DCA']['tl_iso_product']['fields'];

foreach ($arrDCA as $field => $config) {
if ($config['attributes']['customer_defined']) {
if ($config['attributes']['customer_defined'] ?? false) {
$arrFields[] = $field;
}
}
Expand Down

0 comments on commit c3a9bc3

Please sign in to comment.