mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-17 05:48:49 +00:00
[diaspora]: Fixed parser error, ops
This commit is contained in:
parent
bf690179dc
commit
86704a6af2
1 changed files with 1 additions and 1 deletions
|
@ -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']));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue