Skip to content

Commit

Permalink
Ensure variable is initialized.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Dec 18, 2024
1 parent 57df838 commit 2cbe43d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/VuFind/src/VuFind/ChannelProvider/ChannelLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ public function getRecordContext(
$driver = $this->recordLoader->load($recordId, $source);

// Load appropriate channel objects:
$providers = [];
foreach ($configSections as $section) {
$providers = $this->getChannelProviders($source, $section, $activeChannel);
if (!empty($providers)) {
Expand Down

0 comments on commit 2cbe43d

Please sign in to comment.