Skip to content

Commit

Permalink
Merge branch 'craft-4' of https://github.com/verbb/expanded-singles i…
Browse files Browse the repository at this point in the history
…nto craft-4
  • Loading branch information
engram-design committed Jul 21, 2023
2 parents 5a1f266 + 85fe7b4 commit e119d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/SinglesList.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private function _getSingleEntries($singleSections): array
{
$singles = [];

$singleEntries = Entry::find()->sectionId(ArrayHelper::getColumn($singleSections, 'id'))->all();
$singleEntries = Entry::find()->sectionId(ArrayHelper::getColumn($singleSections, 'id'))->status(null)->all();

foreach ($singleEntries as $singleEntry) {
$singles[$singleEntry->sectionId . ':' . $singleEntry->siteId] = $singleEntry;
Expand Down

0 comments on commit e119d58

Please sign in to comment.