From: Philipp Holzer <admin@philipp.info>
Date: Sun, 24 Feb 2019 14:48:30 +0000 (+0100)
Subject: empty is better than isset
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=758444a7d29feec4944626abd3fc3007ae2964ef;p=friendica.git

empty is better than isset
---

diff --git a/view/theme/frio/php/scheme.php b/view/theme/frio/php/scheme.php
index fa7d4a3fe5..9e3f610cd5 100644
--- a/view/theme/frio/php/scheme.php
+++ b/view/theme/frio/php/scheme.php
@@ -24,7 +24,7 @@ function get_scheme_info($scheme)
 {
 	$theme = \get_app()->getCurrentTheme();
 	$themepath = 'view/theme/' . $theme . '/';
-	if (!isset($scheme)) {
+	if (empty($scheme)) {
 		$scheme = PConfig::get(local_user(), 'frio', 'scheme', PConfig::get(local_user(), 'frio', 'scheme'));
 	}