summaryrefslogtreecommitdiff
path: root/app/Module/NotesTabModule.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Module/NotesTabModule.php')
-rw-r--r--app/Module/NotesTabModule.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module/NotesTabModule.php b/app/Module/NotesTabModule.php
index 5fb1e9eaf0..c54e8f750a 100644
--- a/app/Module/NotesTabModule.php
+++ b/app/Module/NotesTabModule.php
@@ -142,7 +142,7 @@ class NotesTabModule extends AbstractModule implements ModuleTabInterface {
}
}
}
- $this->facts = array();
+ $this->facts = [];
foreach ($facts as $fact) {
if (preg_match('/(?:^1|\n\d) NOTE/', $fact->getGedcom())) {
$this->facts[] = $fact;