And now for something complete different ... notices

This commit is contained in:
Michael 2018-07-31 16:22:05 +00:00
parent 53a3c85d4f
commit 7f02ca32c9
5 changed files with 12 additions and 9 deletions

View 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;
}