From 6314818abc1ef06481e758f2ea1d2d6bf9b83f3e Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Thu, 19 Dec 2024 13:40:08 -0500 Subject: [PATCH] Fix bug: incorrect theme assignment in console mode. (#4173) --- module/VuFindTheme/src/VuFindTheme/Initializer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFindTheme/src/VuFindTheme/Initializer.php b/module/VuFindTheme/src/VuFindTheme/Initializer.php index 2ba4d0fc3ed..f0db4c7af03 100644 --- a/module/VuFindTheme/src/VuFindTheme/Initializer.php +++ b/module/VuFindTheme/src/VuFindTheme/Initializer.php @@ -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: