1
0
Fork 0

Merge pull request #3802 from annando/issue-3801

Issue 3801: Personal notes hadn't been displayed
This commit is contained in:
Tobias Diekershoff 2017-10-18 08:22:35 +02:00 committed by GitHub
commit e555a55be3

View file

@ -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