summaryrefslogtreecommitdiff
path: root/themes/colors
diff options
context:
space:
mode:
Diffstat (limited to 'themes/colors')
-rw-r--r--themes/colors/templates/personbox_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/colors/templates/personbox_template.php b/themes/colors/templates/personbox_template.php
index e82d4f1167..a16fba9b5e 100644
--- a/themes/colors/templates/personbox_template.php
+++ b/themes/colors/templates/personbox_template.php
@@ -47,7 +47,7 @@ if (!defined('WT_WEBTREES')) {
style="<?php echo $iconsStyleAdd; ?> width: 25px; height: 50px;"><?php echo $icons; ?>
</div>
<?php echo $thumbnail; ?>
- <a onclick="event.cancelBubble = true;" href="individual.php?pid=<?php echo $pid; ?>&amp;ged=<?php echo $GEDCOM; ?>">
+ <a onclick="event.cancelBubble = true;" href="individual.php?pid=<?php echo $pid; ?>&amp;ged=<?php echo rawurlencode($GEDCOM); ?>">
<span id="namedef-<?php echo $boxID; ?>" class="name<?php echo $style; ?> <?php echo $classfacts; ?>">
<?php echo $name.$addname; ?>
</span>