diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-06-19 10:12:12 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-06-19 10:12:12 +0000 |
| commit | 2a0806e85ec8a60e1b6b381779b8aa865fe2b812 (patch) | |
| tree | 316ccee7d743c741552c424c5a4e7eae35e9d578 /compact.php | |
| parent | 7f75fa314ef5b501d1619b449e1a5f082fac2c0c (diff) | |
| download | webtrees-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.php | 2 |
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); |
