diff --git a/view/theme/frio/php/scheme.php b/view/theme/frio/php/scheme.php index 2f09180439..fa7d4a3fe5 100644 --- a/view/theme/frio/php/scheme.php +++ b/view/theme/frio/php/scheme.php @@ -17,13 +17,16 @@ * 'version' => Scheme version * 'overwrites' => Variables which overwriting custom settings */ + use Friendica\Core\PConfig; function get_scheme_info($scheme) { $theme = \get_app()->getCurrentTheme(); $themepath = 'view/theme/' . $theme . '/'; - $scheme = PConfig::get(local_user(), 'frio', 'scheme', PConfig::get(local_user(), 'frio', 'scheme')); + if (!isset($scheme)) { + $scheme = PConfig::get(local_user(), 'frio', 'scheme', PConfig::get(local_user(), 'frio', 'scheme')); + } $info = [ 'name' => $scheme,