forked from friendica/friendica-addons
gpluspost: Posting couldn't be disabled - fixed
This commit is contained in:
parent
042e945eea
commit
e0ca117391
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ function gpluspost_post_local(&$a,&$b) {
|
||||||
|
|
||||||
$enable = (($post && x($_REQUEST,'gpluspost_enable')) ? intval($_REQUEST['gpluspost_enable']) : 0);
|
$enable = (($post && x($_REQUEST,'gpluspost_enable')) ? intval($_REQUEST['gpluspost_enable']) : 0);
|
||||||
|
|
||||||
if(intval(get_pconfig(local_user(),'gpluspost','post_by_default')))
|
if($_REQUEST['api_source'] && intval(get_pconfig(local_user(),'gpluspost','post_by_default')))
|
||||||
$enable = 1;
|
$enable = 1;
|
||||||
|
|
||||||
if(!$enable)
|
if(!$enable)
|
||||||
|
|
Loading…
Reference in a new issue