Fix WSOD tumblr
This commit is contained in:
parent
2ac5662ab2
commit
fde6d795cd
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user