X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotes.php;h=d1810604ca514bd8ddbcf292e061701017dbf2e5;hb=d60f96f0e17d751d614af28e029546d1ff003ee6;hp=b2aa5487af963e60d1b456dbf39ec1b258b20aea;hpb=b6d11f21297331cda361ebadca3c1cf453027fdd;p=friendica.git diff --git a/mod/notes.php b/mod/notes.php index b2aa5487af..d1810604ca 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -1,6 +1,8 @@ contact['id'] . ">' "; + $sql_extra = " AND `item`.`allow_cid` = '<" . $a->contact['id'] . ">' "; $r = q("SELECT COUNT(*) AS `total` FROM `item` %s