X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotes.php;h=7c65a4c07ab8cc067c8314adce73b330576a89a4;hb=6001c34525867a0aa614dbc020dcbc485e515345;hp=f1cf6cfde566d413e339058599403a1cc0f30ec9;hpb=fc2340d4afe6466c58e35afd64fe9010bf185b04;p=friendica.git diff --git a/mod/notes.php b/mod/notes.php index f1cf6cfde5..7c65a4c07a 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -55,7 +55,7 @@ function notes_content(App $a, $update = false) 'default_location' => $a->user['default-location'], 'nickname' => $a->user['nickname'], 'lockstate' => 'lock', - 'acl' => '', + 'acl' => \Friendica\Core\ACL::getSelfOnlyHTML(local_user(), DI::l10n()->t('Personal notes are visible only by yourself.')), 'bang' => '', 'visitor' => 'block', 'profile_uid' => local_user(), @@ -86,7 +86,7 @@ function notes_content(App $a, $update = false) $count = 0; if (DBA::isResult($r)) { - $notes = Item::inArray($r); + $notes = Item::toArray($r); $count = count($notes);