1
1
Fork 0

empty is better than isset

This commit is contained in:
Philipp Holzer 2019-02-24 15:48:30 +01:00
parent da4fc0411e
commit 758444a7d2
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -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'));
}