X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fcommunity.php;h=a7f5c9bf82effde18ef00a6c3fa57e13b7e0ccb5;hb=c9307eb96a1cd6f0f99ef01127a3ec6d356543ef;hp=aa5bb7268d2dc3d25472516bdbbd09bf6b5b14e2;hpb=eb37c8cca6d7a668a403c3fd1b0169ebe7483551;p=friendica.git diff --git a/mod/community.php b/mod/community.php index aa5bb7268d..a7f5c9bf82 100644 --- a/mod/community.php +++ b/mod/community.php @@ -75,12 +75,13 @@ function community_content(&$a, $update = 0) { AND `item`.`allow_cid` = '' AND `item`.`allow_gid` = '' AND `item`.`deny_cid` = '' AND `item`.`deny_gid` = '' AND `item`.`private` = 0 AND `item`.`wall` = 1 AND `user`.`hidewall` = 0 - AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 group by `item`.`uri` + AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 ORDER BY `received` DESC LIMIT %d, %d ", intval($a->pager['start']), intval($a->pager['itemspage']) ); +// AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 group by `item`.`uri` if(! count($r)) { info( t('No results.') . EOL);