Merge pull request #1204 from AlfredSK/patch-1

Fix WSOD tumblr
This commit is contained in:
Michael Vogel 2021-11-07 16:39:57 +01:00 committed by GitHub
commit 4f93db9d57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);