summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--edit_interface.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit_interface.php b/edit_interface.php
index ae3fcb2df5..a3db9f2e97 100644
--- a/edit_interface.php
+++ b/edit_interface.php
@@ -1743,7 +1743,7 @@ case 'changefamily':
</a>
</td>
<td class="optionbox">
- <a href="#" onclick="return findIndi(document.changefamform.WIFEdocument.getElementById('WIFEName'));">
+ <a href="#" onclick="return findIndi(document.changefamform.WIFE, document.getElementById('WIFEName'));">
<?php echo WT_I18N::translate('Change'); ?>
</a>
</td>