Skip to content

Commit

Permalink
fix baserproject#3120 カスタムコンテンツを2つ以上トップページなどで一覧表示させるとアイキャッチが取得できない問題を解決
Browse files Browse the repository at this point in the history
  • Loading branch information
kato committed Feb 15, 2024
1 parent 55a49d0 commit 12870fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) || !$customLink->display_front) return '';
/** @var CustomField $field */
$field = $customLink->custom_field;

Expand Down

0 comments on commit 12870fe

Please sign in to comment.