From 1ee0a4f002d11cc0141cb843df6241d214fc09c1 Mon Sep 17 00:00:00 2001 From: fisharebest Date: Mon, 8 Jul 2013 21:18:13 +0000 Subject: #1199016 - Yahrzeiten block errors - svn 15281 --- modules_v3/yahrzeit/module.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules_v3/yahrzeit/module.php b/modules_v3/yahrzeit/module.php index 9fd5a8bafe..0643be7a19 100644 --- a/modules_v3/yahrzeit/module.php +++ b/modules_v3/yahrzeit/module.php @@ -2,7 +2,7 @@ // Classes and libraries for module system // // webtrees: Web based Family History software -// Copyright (C) 2012 webtrees development team. +// Copyright (C) 2013 webtrees development team. // // Derived from PhpGedView // Copyright (C) 2010 John Finlay @@ -162,7 +162,7 @@ class yahrzeit_WT_Module extends WT_Module implements WT_Module_Block { foreach ($yahrzeits as $yahrzeit) { if ($yahrzeit['jd']>=$startjd && $yahrzeit['jd']<$startjd+$days) { $content .= ''; - $ind=WT_person::GetInstance($yahrzeit['id']); + $ind=WT_Individual::GetInstance($yahrzeit['id']); // Individual name(s) $name=$ind->getFullName(); $url=$ind->getHtmlUrl(); -- cgit v1.3