Fix WSOD tumblr #1204
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue