Merge pull request #3802 from annando/issue-3801
Issue 3801: Personal notes hadn't been displayed
This commit is contained in:
commit
e555a55be3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue