summaryrefslogtreecommitdiff
path: root/modules/user_favorites/module.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-01-05 11:46:40 +0000
committerfisharebest <fisharebest@gmail.com>2011-01-05 11:46:40 +0000
commite3a945660ac407a3f5359eac8d5a4679f1fcfad2 (patch)
tree0e9292099ea35f54641ec0e5466785ba348e5eca /modules/user_favorites/module.php
parentb2d1b28289d637da05adc5abc030aedb27163b98 (diff)
downloadwebtrees-e3a945660ac407a3f5359eac8d5a4679f1fcfad2.tar.gz
webtrees-e3a945660ac407a3f5359eac8d5a4679f1fcfad2.tar.bz2
webtrees-e3a945660ac407a3f5359eac8d5a4679f1fcfad2.zip
Minor tidy up. Use Objects instead of XREFs and raw gedcom
Diffstat (limited to 'modules/user_favorites/module.php')
-rw-r--r--modules/user_favorites/module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user_favorites/module.php b/modules/user_favorites/module.php
index 87b1f762a0..1bb87bcf41 100644
--- a/modules/user_favorites/module.php
+++ b/modules/user_favorites/module.php
@@ -199,7 +199,7 @@ class user_favorites_WT_Module extends WT_Module implements WT_Module_Block {
$content .= "\">";
if ($ctype=="user" || WT_USER_IS_ADMIN) $content .= $removeFavourite;
ob_start();
- print_pedigree_person($favorite["gid"], $style, 1, $key);
+ print_pedigree_person(WT_Person::getInstance($favorite["gid"]), $style, 1, $key);
$content .= ob_get_clean();
$content .= PrintReady($favorite["note"]);
} else {