diff --git a/plugins/bc-custom-content/src/View/Helper/CustomContentHelper.php b/plugins/bc-custom-content/src/View/Helper/CustomContentHelper.php index 10c5b4b266..ce6aa94235 100644 --- a/plugins/bc-custom-content/src/View/Helper/CustomContentHelper.php +++ b/plugins/bc-custom-content/src/View/Helper/CustomContentHelper.php @@ -214,7 +214,7 @@ public function getFieldValue(mixed $entry, string $fieldName, array $options = $customLink = $this->getLink($entry->custom_table_id, $fieldName); - if (!$customLink->display_front) return ''; + if (empty($customLink->display_front)) return ''; /** @var CustomField $field */ $field = $customLink->custom_field;