We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bef1c83 commit 0aba9c8Copy full SHA for 0aba9c8
plugins/content/fields/src/Extension/Fields.php
@@ -68,7 +68,7 @@ public function onContentPrepare($context, &$item, &$params, $page = 0)
68
}
69
70
// Prepare the full text
71
- if (property_exists($item, 'fulltext') && strpos($item->fulltext, 'field') !== false) {
+ if (!empty($item->fulltext) && strpos($item->fulltext, 'field') !== false) {
72
$item->fulltext = $this->prepare($item->fulltext, $context, $item);
73
74
0 commit comments