summaryrefslogtreecommitdiff
path: root/library/WT/Note.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-10-21 17:02:42 +0100
committerGreg Roach <fisharebest@gmail.com>2014-10-21 17:02:42 +0100
commit02cf5721cacf21ebdd31f3f4fd3a41e8b8868ce1 (patch)
tree771e058d9bc2b1c67a70b316979ed1373b0f9d55 /library/WT/Note.php
parent903f39848d20fc121b57e1b80a4c188b3e151541 (diff)
downloadwebtrees-02cf5721cacf21ebdd31f3f4fd3a41e8b8868ce1.tar.gz
webtrees-02cf5721cacf21ebdd31f3f4fd3a41e8b8868ce1.tar.bz2
webtrees-02cf5721cacf21ebdd31f3f4fd3a41e8b8868ce1.zip
PSR-1
Diffstat (limited to 'library/WT/Note.php')
-rw-r--r--library/WT/Note.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Note.php b/library/WT/Note.php
index 0b1516158f..5639fcb05d 100644
--- a/library/WT/Note.php
+++ b/library/WT/Note.php
@@ -97,7 +97,7 @@ class WT_Note extends WT_GedcomRecord {
}
list($text) = explode("\n", $text);
- $this->_addName('NOTE', strlen($text) > 100 ? mb_substr($text, 0, 100) . WT_I18N::translate('…') : $text, $this->getGedcom());
+ $this->addName('NOTE', strlen($text) > 100 ? mb_substr($text, 0, 100) . WT_I18N::translate('…') : $text, $this->getGedcom());
}
}
}