]> git.mxchange.org Git - friendica-addons.git/commitdiff
gpluspost: Posting couldn't be disabled - fixed
authorMichael Vogel <icarus@dabo.de>
Sun, 3 Mar 2013 16:55:46 +0000 (17:55 +0100)
committerMichael Vogel <icarus@dabo.de>
Sun, 3 Mar 2013 16:55:46 +0000 (17:55 +0100)
gpluspost/gpluspost.php

index 7c69f2c6488b540ba020eea7a481d4259420fc9f..22fccdefc2f6921d27a33ebf5088224059118d33 100644 (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)