Skip to content

Commit

Permalink
Merge branch '3.2' into 3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 29, 2024
2 parents 1fcd812 + fbbad23 commit 10cfb85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Block/BannerBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected function decodeLinkData($linkJson)

// Link page, if selected
if ($data->PageID) {
$data->setField('Page', self::get_by_id(SiteTree::class, $data->PageID));
$data->setField('Page', BannerBlock::get_by_id(SiteTree::class, $data->PageID));
}

return $data;
Expand Down

0 comments on commit 10cfb85

Please sign in to comment.