[diaspora]: Fixed parser error, ops

This commit is contained in:
Roland Häder 2018-07-22 15:52:43 +02:00
parent bf690179dc
commit 86704a6af2
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -242,7 +242,7 @@ function diaspora_settings(App $a, &$s)
function diaspora_settings_post(App $a, &$b)
{
if (!empty($_POST['diaspora-submit]')) {
if (!empty($_POST['diaspora-submit'])) {
PConfig::set(local_user(),'diaspora', 'post' , intval($_POST['diaspora']));
PConfig::set(local_user(),'diaspora', 'post_by_default', intval($_POST['diaspora_bydefault']));
PConfig::set(local_user(),'diaspora', 'handle' , trim($_POST['handle']));