diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-05-30 19:13:51 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-05-30 23:29:57 +0100 |
| commit | cbc1590a8c715aa2d88bd745610b899587bd9563 (patch) | |
| tree | 8411c52737b981c7eff37ffcdd083902cb769141 /app/Note.php | |
| parent | ffd703ea1e658c7dcb5e5f1f9ef137a420f2d167 (diff) | |
| download | webtrees-cbc1590a8c715aa2d88bd745610b899587bd9563.tar.gz webtrees-cbc1590a8c715aa2d88bd745610b899587bd9563.tar.bz2 webtrees-cbc1590a8c715aa2d88bd745610b899587bd9563.zip | |
Code style
Diffstat (limited to 'app/Note.php')
| -rw-r--r-- | app/Note.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Note.php b/app/Note.php index 73833912e1..fabd791332 100644 --- a/app/Note.php +++ b/app/Note.php @@ -21,7 +21,7 @@ namespace Fisharebest\Webtrees; */ class Note extends GedcomRecord { const RECORD_TYPE = 'NOTE'; - const URL_PREFIX = 'note.php?nid='; + const URL_PREFIX = 'note.php?nid='; /** * Get an instance of a note object. For single records, @@ -63,7 +63,7 @@ class Note extends GedcomRecord { $linked_ids = Database::prepare( "SELECT l_from FROM `##link` WHERE l_to=? AND l_file=?" )->execute(array( - $this->xref, $this->tree->getTreeId() + $this->xref, $this->tree->getTreeId(), ))->fetchOneColumn(); foreach ($linked_ids as $linked_id) { $linked_record = GedcomRecord::getInstance($linked_id, $this->tree); @@ -87,7 +87,7 @@ class Note extends GedcomRecord { "SELECT o_gedcom FROM `##other` WHERE o_id = :xref AND o_file = :tree_id AND o_type = 'NOTE'" )->execute(array( 'xref' => $xref, - 'tree_id' => $tree_id + 'tree_id' => $tree_id, ))->fetchOne(); } |
