Skip to content

Commit 9bb2cb1

Browse files
committed
Merge branch '5.1.x' of github.com:baserproject/basercms into 5.1.x
2 parents 9c33802 + f8b19ae commit 9bb2cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/bc-custom-content/src/View/Helper/CustomContentHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ public function getEntries(string $contentsName, int $limit = 5, array $options
515515
}
516516
$service = $this->getService(CustomContentFrontServiceInterface::class);
517517
$customContent = $service->ContentsService->get($content->entity_id);
518-
$service->EntriesService->setup($content->entity_id);
518+
$service->EntriesService->setup($customContent->custom_table_id);
519519
$entities = $service->EntriesService->getIndex($options);
520520
return $this->BcBaser->getElement("BcCustomContent.../CustomContent/{$customContent->template}/entries", [
521521
'customEntries' => $entities,

0 commit comments

Comments
 (0)