From 27646cc4ad8d715317a2ca055b6c3318ddf555a9 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Tue, 19 Dec 2017 11:33:59 +0100 Subject: [PATCH] Code standards in api_get_user --- include/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/api.php b/include/api.php index 3a5247e019..7b1fee733c 100644 --- a/include/api.php +++ b/include/api.php @@ -785,10 +785,10 @@ function api_get_user(App $a, $contact_id = null) $theme_info = dba::select('user', ['theme'], ['uid' => $ret['uid']], ['limit' => 1]); if ($theme_info['theme'] === 'frio') { $schema = PConfig::get($ret['uid'], 'frio', 'schema'); - if (($schema) && ($schema != '---')) { + if ($schema && ($schema != '---')) { if (file_exists('view/theme/frio/schema/'.$schema.'.php')) { $schemefile = 'view/theme/frio/schema/'.$schema.'.php'; - require_once($schemefile); + require_once $schemefile; } } else { $nav_bg = PConfig::get($ret['uid'], 'frio', 'nav_bg');