From: Steffen K9 Date: Sun, 7 Nov 2021 15:19:53 +0000 (+0100) Subject: Fix WSOD twitter X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c57c1de3d47f6efb09dc57e6b42121695444ce91;p=friendica-addons.git Fix WSOD twitter --- diff --git a/twitter/twitter.php b/twitter/twitter.php index 9811a06a..8b7451b8 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -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);