Browse Source

Config::get returns null if value not set, so the check needs to be adopted

pull/4313/head
Tobias Diekershoff 4 years ago
parent
commit
1908a9feb9
  1. 4
      view/theme/vier/style.php

4
view/theme/vier/style.php

@ -10,11 +10,11 @@ $uid = Profile::getThemeUid();
$style = PConfig::get($uid, 'vier', 'style');
if ($style == "") {
if (empty($style)) {
$style = Config::get('vier', 'style');
}
if ($style == "") {
if (empty($style)) {
$style = "plus";
}

Loading…
Cancel
Save