diff --git a/include/api.php b/include/api.php index 4e8e9c232..f5b887b8c 100644 --- a/include/api.php +++ b/include/api.php @@ -772,6 +772,9 @@ function api_get_user(App $a, $contact_id = null) $theme_info = dba::selectFirst('user', ['theme'], ['uid' => $ret['uid']]); if ($theme_info['theme'] === 'frio') { $schema = PConfig::get($ret['uid'], 'frio', 'schema'); + + var_dump($ret['uid'], $schema, $a->config); + if ($schema && ($schema != '---')) { if (file_exists('view/theme/frio/schema/'.$schema.'.php')) { $schemefile = 'view/theme/frio/schema/'.$schema.'.php';