diff options
Diffstat (limited to 'modules/batch_update/plugins/married_names.php')
| -rw-r--r-- | modules/batch_update/plugins/married_names.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/batch_update/plugins/married_names.php b/modules/batch_update/plugins/married_names.php index 7e14c91f38..a38ae17503 100644 --- a/modules/batch_update/plugins/married_names.php +++ b/modules/batch_update/plugins/married_names.php @@ -42,7 +42,7 @@ class married_names_bu_plugin extends base_plugin { static function getDescription() { return i18n::translate('You can make it easier to search for married women by recording their married name.<br />However not all women take their husband\'s surname, so beware of introducing incorrect information into your database.'); } - + function doesRecordNeedUpdate($xref, $gedrec) { return preg_match('/^1 SEX F/m', $gedrec) && preg_match('/^1 NAME /m', $gedrec) && self::_surnames_to_add($xref, $gedrec); } |
