diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-06-08 19:50:45 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-06-08 19:50:45 +0000 |
| commit | d19c0f374ee8b261b1aaa90e3c4c51344058b183 (patch) | |
| tree | c0642aebb8d5cdb05783a3f74c922889ea653de1 /modules | |
| parent | fb1009ed9b97709be95130dab60d672505e083bc (diff) | |
| download | webtrees-d19c0f374ee8b261b1aaa90e3c4c51344058b183.tar.gz webtrees-d19c0f374ee8b261b1aaa90e3c4c51344058b183.tar.bz2 webtrees-d19c0f374ee8b261b1aaa90e3c4c51344058b183.zip | |
#591411 Add to favorites" does not work v.8640
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/user_favorites/module.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user_favorites/module.php b/modules/user_favorites/module.php index 209ff45d54..7df805479a 100644 --- a/modules/user_favorites/module.php +++ b/modules/user_favorites/module.php @@ -186,7 +186,7 @@ class user_favorites_WT_Module extends WT_Module implements WT_Module_Block { $content .= "<a href=\"".$favorite["url"]."\">".PrintReady($favorite["title"])."</a>"; $content .= "<br />".PrintReady($favorite["note"]); } else { - require $INDEX_DIRECTORY.$GEDCOM.'_conf.php'; + load_gedcom_settings(get_id_from_gedcom($GEDCOM)); $indirec = find_gedcom_record($favorite["gid"], WT_GED_ID); if ($favorite["type"]=="INDI") { $content .= "<div id=\"box".$favorite["gid"].".0\" class=\"person_box"; @@ -214,8 +214,8 @@ class user_favorites_WT_Module extends WT_Module implements WT_Module_Block { $content .= "</div>"; $content .= "</td></tr>"; $GEDCOM = $mygedcom; - require $INDEX_DIRECTORY.$GEDCOM.'_conf.php'; } + load_gedcom_settings(WT_GED_ID); $content .= "</table>"; } $content .= ' |
