Fix WSOD tumblr #1204

Merged
AlfredSK merged 1 commit from patch-1 into develop 2021-11-07 16:39:57 +01:00

View file

@ -75,7 +75,7 @@ function tumblr_addon_admin(App $a, &$o)
function tumblr_addon_admin_post(App $a) 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'] ?? ''); $consumer_secret = trim($_POST['consumer_secret'] ?? '');
DI::config()->set('tumblr', 'consumer_key',$consumer_key); DI::config()->set('tumblr', 'consumer_key',$consumer_key);