summaryrefslogtreecommitdiff
path: root/modules_v3
diff options
context:
space:
mode:
Diffstat (limited to 'modules_v3')
-rw-r--r--modules_v3/personal_facts/module.php2
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;