]> git.mxchange.org Git - friendica-addons.git/blobdiff - dwpost/dwpost.php
Some more notices in addons
[friendica-addons.git] / dwpost / dwpost.php
index 9afbcc833a454687637b0784b908d16dc490ff4d..0174bf105a247ce06f317b40ae64dbc6aafdd9f5 100644 (file)
@@ -137,7 +137,7 @@ function dwpost_post_local(App $a, array &$b)
 
        $dw_enable = (($dw_post && x($_REQUEST,'dwpost_enable')) ? intval($_REQUEST['dwpost_enable']) : 0);
 
-       if ($_REQUEST['api_source'] && intval(PConfig::get(local_user(),'dwpost','post_by_default'))) {
+       if ($b['api_source'] && intval(PConfig::get(local_user(),'dwpost','post_by_default'))) {
                $dw_enable = 1;
        }