Skip to content

Commit

Permalink
Fix bug: incorrect theme assignment in console mode. (#4173)
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz authored Dec 19, 2024
1 parent 8aaa8a4 commit 6314818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/VuFindTheme/src/VuFindTheme/Initializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ protected function getSelectedUI(array $themes, ?Request $request): string

// Load standard configuration options:
if (PHP_SAPI == 'cli') {
return $themes['standard'];
return 'standard';
}

// Find out if the user has a saved preference in the POST, URL or cookies:
Expand Down

0 comments on commit 6314818

Please sign in to comment.