]> git.mxchange.org Git - friendica.git/commitdiff
Fix Friendica node info json
authorfabrixxm <fabrix.xm@gmail.com>
Tue, 6 Nov 2018 09:07:22 +0000 (10:07 +0100)
committerGitHub <noreply@github.com>
Tue, 6 Nov 2018 09:07:22 +0000 (10:07 +0100)
And stop worker sending warning from PortableContacts.php

mod/friendica.php

index 2629a0a19e3c3bdd4b89f4745edb4b7d43248015..2b77848d00ea44685cd4ad3083737322a8e10597 100644 (file)
@@ -52,7 +52,7 @@ function friendica_init(App $a)
                        'locked_features'  => $locked_features,
                        'explicit_content' => (int)Config::get('system', 'explicit_content', false),
                        'language'         => Config::get('system','language'),
-                       'register_policy ' => $register_policy[intval(Config::get('config', 'register_policy'))],
+                       'register_policy' => $register_policy[intval(Config::get('config', 'register_policy'))],
                        'admin'            => $admin,
                        'site_name'        => Config::get('config', 'sitename'),
                        'platform'         => FRIENDICA_PLATFORM,