Wrong table name

This commit is contained in:
Hypolite Petovan 2018-07-08 02:57:00 -04:00
parent f8a90f3425
commit 224765cdf5

View file

@ -773,7 +773,7 @@ function api_get_user(App $a, $contact_id = null)
if ($theme_info['theme'] === 'frio') { if ($theme_info['theme'] === 'frio') {
$schema = PConfig::get($ret['uid'], 'frio', 'schema'); $schema = PConfig::get($ret['uid'], 'frio', 'schema');
var_dump($ret['uid'], $schema, $a->config, dba::inArray(dba::select('config', []))); var_dump($ret['uid'], $schema, $a->config, dba::inArray(dba::select('pconfig', [])));
if ($schema && ($schema != '---')) { if ($schema && ($schema != '---')) {
if (file_exists('view/theme/frio/schema/'.$schema.'.php')) { if (file_exists('view/theme/frio/schema/'.$schema.'.php')) {