gpluspost: Posting to Google+ #103

Merged
annando merged 6 commits from master into master 2013-03-03 21:08:21 +01:00
Showing only changes of commit e0ca117391 - Show all commits

gpluspost: Posting couldn't be disabled - fixed

Michael Vogel 2013-03-03 17:55:46 +01:00

View file

@ -99,7 +99,7 @@ function gpluspost_post_local(&$a,&$b) {
$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;
if(!$enable)