diff options
| author | fisharebest <fisharebest@gmail.com> | 2013-07-08 21:15:47 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2013-07-08 21:15:47 +0000 |
| commit | a55e6d55c30717cce7ebd6a81d1c1faaf6ce915f (patch) | |
| tree | 2f124980d422780a282fce35e3c416591561ad7e /modules_v3 | |
| parent | b136ec3d251a158cfc0a39b7dcf1592640214330 (diff) | |
| download | webtrees-a55e6d55c30717cce7ebd6a81d1c1faaf6ce915f.tar.gz webtrees-a55e6d55c30717cce7ebd6a81d1c1faaf6ce915f.tar.bz2 webtrees-a55e6d55c30717cce7ebd6a81d1c1faaf6ce915f.zip | |
#1199085 - Personal facts display error in SVN 15281
Diffstat (limited to 'modules_v3')
| -rw-r--r-- | modules_v3/personal_facts/module.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules_v3/personal_facts/module.php b/modules_v3/personal_facts/module.php index 130bb99e7f..a2726fe43b 100644 --- a/modules_v3/personal_facts/module.php +++ b/modules_v3/personal_facts/module.php @@ -424,7 +424,7 @@ class personal_facts_WT_Module extends WT_Module implements WT_Module_Tab { if (file_exists(WT_Site::preference('INDEX_DIRECTORY') . 'histo.' . WT_LOCALE . '.php')) { require WT_Site::preference('INDEX_DIRECTORY') . 'histo.' . WT_LOCALE . '.php'; foreach ($histo as $hist) { - $fact = new WT_Fact($hist, null, 'histo'); + $fact = new WT_Fact($hist, $person, 'histo'); $sdate = $fact->getDate(); if ($sdate->isOK() && WT_Date::Compare($birt_date, $sdate)<=0 && WT_Date::Compare($sdate, $deat_date)<=0) { $facts[] = $fact; |
