]> git.mxchange.org Git - friendica.git/commitdiff
Wrong table name
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 8 Jul 2018 06:57:00 +0000 (02:57 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Mon, 16 Jul 2018 23:38:16 +0000 (19:38 -0400)
include/api.php

index 9dfc7c265270c630ba2f028990acbd037b729d2f..986789983453275ee8f6e19463709586ee0e1754 100644 (file)
@@ -773,7 +773,7 @@ function api_get_user(App $a, $contact_id = null)
                if ($theme_info['theme'] === 'frio') {
                        $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 (file_exists('view/theme/frio/schema/'.$schema.'.php')) {