summaryrefslogtreecommitdiff
path: root/includes/functions/functions_print.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/functions/functions_print.php')
-rw-r--r--includes/functions/functions_print.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php
index e726ae380f..601bf9b206 100644
--- a/includes/functions/functions_print.php
+++ b/includes/functions/functions_print.php
@@ -1007,8 +1007,8 @@ function init_calendar_popup() {
');
}
-function print_findindi_link($element_id, $indiname='') {
- return '<a href="#" onclick="findIndi(document.getElementById(\''.$element_id.'\'), document.getElementById(\''.$indiname.'\'), \''.WT_GEDURL.'\'); return false;" class="icon-button_indi" title="'.WT_I18N::translate('Find an individual').'"></a>';
+function print_findindi_link($element_id, $indiname='', $ged=WT_GEDCOM) {
+ return '<a href="#" onclick="findIndi(document.getElementById(\''.$element_id.'\'), document.getElementById(\''.$indiname.'\'), \'' . WT_Filter::escapeHtml($ged) . '\'); return false;" class="icon-button_indi" title="'.WT_I18N::translate('Find an individual').'"></a>';
}
function print_findplace_link($element_id) {