Skip to content

Commit

Permalink
Eliminate redundant isset check.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Dec 10, 2024
1 parent 80153e8 commit a49a4c7
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 @@ -208,7 +208,7 @@ protected function getThemeAliasMap(): array
if ($this->themeMap === null) {
// Set up special-case 'standard' and 'mobile' aliases:
$this->themeMap = ['standard' => $this->config->theme];
if ($this->mobile->enabled() && isset($this->config->mobile_theme)) {
if ($this->mobile->enabled()) {
$this->themeMap['mobile'] = $this->config->mobile_theme;
}

Expand Down

0 comments on commit a49a4c7

Please sign in to comment.