Config::get returns null if value not set, so the check needs to be adopted
This commit is contained in:
parent
7c61901be4
commit
1908a9feb9
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue