From 758444a7d29feec4944626abd3fc3007ae2964ef Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sun, 24 Feb 2019 15:48:30 +0100 Subject: [PATCH] empty is better than isset --- view/theme/frio/php/scheme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); }