From e0ca11739192076d0ab3f3eaa8eded8abee63707 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 3 Mar 2013 17:55:46 +0100 Subject: [PATCH] gpluspost: Posting couldn't be disabled - fixed --- gpluspost/gpluspost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpluspost/gpluspost.php b/gpluspost/gpluspost.php index 7c69f2c6..22fccdef 100644 --- a/gpluspost/gpluspost.php +++ b/gpluspost/gpluspost.php @@ -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) -- 2.39.5