summaryrefslogtreecommitdiff
path: root/app/Family.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-01-12 14:24:37 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-01-12 14:24:37 +0000
commita7a24840b43d2ed5c53b60c55f1f09e1cc2f01f9 (patch)
tree4eaa48432e1e34c054f8e48925d91a9d9748de33 /app/Family.php
parent5c0ddd75b3291f9a328fea0670f167c1257aa524 (diff)
downloadwebtrees-a7a24840b43d2ed5c53b60c55f1f09e1cc2f01f9.tar.gz
webtrees-a7a24840b43d2ed5c53b60c55f1f09e1cc2f01f9.tar.bz2
webtrees-a7a24840b43d2ed5c53b60c55f1f09e1cc2f01f9.zip
Move search functions to new SearchService
Diffstat (limited to 'app/Family.php')
-rw-r--r--app/Family.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Family.php b/app/Family.php
index 15c322f489..e56665f42f 100644
--- a/app/Family.php
+++ b/app/Family.php
@@ -70,7 +70,7 @@ class Family extends GedcomRecord
public static function rowMapper(): Closure
{
return function (stdClass $row): Family {
- return Family::getInstance($row->f_id, Tree::findById($row->f_file), $row->f_gedcom);
+ return Family::getInstance($row->f_id, Tree::findById((int) $row->f_file), $row->f_gedcom);
};
}