From: Steffen K9 Date: Sun, 7 Nov 2021 15:18:27 +0000 (+0100) Subject: Fix WSOD tumblr X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fde6d795cd505c50936dc27edc7cfe3f500f8e26;p=friendica-addons.git Fix WSOD tumblr --- diff --git a/tumblr/tumblr.php b/tumblr/tumblr.php index f92de89f..e664ed7b 100644 --- a/tumblr/tumblr.php +++ b/tumblr/tumblr.php @@ -75,7 +75,7 @@ function tumblr_addon_admin(App $a, &$o) function tumblr_addon_admin_post(App $a) { - $consumer_key = trim($_POST['consumer_key'] ?? : ''); + $consumer_key = trim($_POST['consumer_key'] ?? ''); $consumer_secret = trim($_POST['consumer_secret'] ?? ''); DI::config()->set('tumblr', 'consumer_key',$consumer_key);