]> git.mxchange.org Git - friendica-addons.git/commitdiff
Fix WSOD twitter
authorSteffen K9 <admin@libranet.de>
Sun, 7 Nov 2021 15:19:53 +0000 (16:19 +0100)
committerGitHub <noreply@github.com>
Sun, 7 Nov 2021 15:19:53 +0000 (16:19 +0100)
twitter/twitter.php

index 9811a06abb1b84de86b1c6e94c067b4548b0ac2e..8b7451b823028491b435a64058f105031d3c33cf 100644 (file)
@@ -791,7 +791,7 @@ function twitter_post_hook(App $a, array &$b)
 
 function twitter_addon_admin_post(App $a)
 {
-       $consumerkey    = trim($_POST['consumerkey'] ?? '');
+       $consumerkey    = trim($_POST['consumerkey'] ?? '');
        $consumersecret = trim($_POST['consumersecret'] ?? '');
        DI::config()->set('twitter', 'consumerkey', $consumerkey);
        DI::config()->set('twitter', 'consumersecret', $consumersecret);