From: Michael Date: Wed, 18 Oct 2017 04:55:03 +0000 (+0000) Subject: Issue 3801: Personal notes hadn't been displayed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d675c8405137ca1c5d709a7c2d7075739024b703;p=friendica.git Issue 3801: Personal notes hadn't been displayed --- diff --git a/mod/notes.php b/mod/notes.php index 835627586c..d1810604ca 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -73,7 +73,7 @@ function notes_content(App $a, $update = false) { // default permissions - anonymous user - $sql_extra = " AND `allow_cid` = '<" . $a->contact['id'] . ">' "; + $sql_extra = " AND `item`.`allow_cid` = '<" . $a->contact['id'] . ">' "; $r = q("SELECT COUNT(*) AS `total` FROM `item` %s