From 1908a9feb9a598b33f6bc0573c80a2b88d8e46cf Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 23 Jan 2018 08:15:53 +0100 Subject: [PATCH] Config::get returns null if value not set, so the check needs to be adopted --- view/theme/vier/style.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/theme/vier/style.php b/view/theme/vier/style.php index 81010e3816..0c6667423b 100644 --- a/view/theme/vier/style.php +++ b/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"; }