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: