Issue 3801: Personal notes hadn't been displayed

This commit is contained in:
Michael 2017-10-18 04:55:03 +00:00
parent e4a2430967
commit d675c84051

View File

@ -73,7 +73,7 @@ function notes_content(App $a, $update = false) {
// default permissions - anonymous user // 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` $r = q("SELECT COUNT(*) AS `total`
FROM `item` %s FROM `item` %s