Merge pull request #3802 from annando/issue-3801

Issue 3801: Personal notes hadn't been displayed
pull/3804/head
Tobias Diekershoff 2017-10-18 08:22:35 +02:00 zatwierdzone przez GitHub
commit e555a55be3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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