summaryrefslogtreecommitdiff
path: root/compact.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-06-19 10:12:12 +0000
committerfisharebest <fisharebest@gmail.com>2010-06-19 10:12:12 +0000
commit2a0806e85ec8a60e1b6b381779b8aa865fe2b812 (patch)
tree316ccee7d743c741552c424c5a4e7eae35e9d578 /compact.php
parent7f75fa314ef5b501d1619b449e1a5f082fac2c0c (diff)
downloadwebtrees-2a0806e85ec8a60e1b6b381779b8aa865fe2b812.tar.gz
webtrees-2a0806e85ec8a60e1b6b381779b8aa865fe2b812.tar.bz2
webtrees-2a0806e85ec8a60e1b6b381779b8aa865fe2b812.zip
Use API to access object data
Diffstat (limited to 'compact.php')
-rw-r--r--compact.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/compact.php b/compact.php
index 41ac4979a5..ea945c8954 100644
--- a/compact.php
+++ b/compact.php
@@ -308,7 +308,7 @@ function print_td_person($n) {
$addname=$indi->getAddName();
if ($showthumbs && $MULTI_MEDIA && $SHOW_HIGHLIGHT_IMAGES) {
- $object = find_highlighted_object($pid, WT_GED_ID, $indi->gedrec);
+ $object = find_highlighted_object($pid, WT_GED_ID, $indi->getGedcomRecord());
if (!empty($object)) {
$whichFile = thumb_or_main($object); // Do we send the main image or a thumbnail?
$size = findImageSize($whichFile);