summaryrefslogtreecommitdiff
path: root/app/Http/Controllers/NoteController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Http/Controllers/NoteController.php')
-rw-r--r--app/Http/Controllers/NoteController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Controllers/NoteController.php b/app/Http/Controllers/NoteController.php
index 8db41e20a2..4161fdb061 100644
--- a/app/Http/Controllers/NoteController.php
+++ b/app/Http/Controllers/NoteController.php
@@ -65,7 +65,7 @@ class NoteController extends AbstractBaseController
private function facts(Note $record): array
{
$facts = [];
- foreach ($record->getFacts() as $fact) {
+ foreach ($record->facts() as $fact) {
if ($fact->getTag() != 'CONT') {
$facts[] = $fact;
}