Skip to content

Commit

Permalink
Fix elseif
Browse files Browse the repository at this point in the history
  • Loading branch information
maccabeelevine committed Dec 21, 2023
1 parent b6fcaae commit 273f640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Controller/CombinedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ protected function adjustQueryForSettings($settings, $searchType = null)
$includeRecommendNoResultsSetting = $settings['include_recommendations_noresults'] ?? false;
if (is_array($includeRecommendNoResultsSetting)) {
$recommendOverride['noresults'] = $settings['include_recommendations_noresults'];
} else if (!$includeRecommendNoResultsSetting) {
} elseif (!$includeRecommendNoResultsSetting) {
$noRecommend[] = 'noresults';
}

Expand Down

0 comments on commit 273f640

Please sign in to comment.