Skip to content

Commit

Permalink
Update RecordRuntime.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter authored Jun 7, 2021
1 parent cbbc37f commit ca9c87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Twig/Runtime/RecordRuntime.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public function fields(
}

// Still no record? Nothing to do here, then.
if (!$record instanceof \Bolt\Legacy\Content) {
if (!$record instanceof \Bolt\Legacy\Content && !$record instanceof Entity\Content) {
return null;
}

Expand Down

0 comments on commit ca9c87c

Please sign in to comment.