From: Tobias Diekershoff Date: Tue, 23 Jan 2018 07:15:53 +0000 (+0100) Subject: Config::get returns null if value not set, so the check needs to be adopted X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1908a9feb9a598b33f6bc0573c80a2b88d8e46cf;p=friendica.git Config::get returns null if value not set, so the check needs to be adopted --- 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"; }