Issue 3801: Personal notes hadn't been displayed
This commit is contained in:
parent
e4a2430967
commit
d675c84051
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue