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

@ -131,7 +131,7 @@ function ljpost_post_local(&$a,&$b) {
$lj_enable = (($lj_post && x($_REQUEST,'ljpost_enable')) ? intval($_REQUEST['ljpost_enable']) : 0);
if($_REQUEST['api_source'] && intval(PConfig::get(local_user(),'ljpost','post_by_default')))
if($b['api_source'] && intval(PConfig::get(local_user(),'ljpost','post_by_default')))
$lj_enable = 1;
if(! $lj_enable)