summaryrefslogtreecommitdiff
path: root/modules_v3/batch_update/plugins/death_y.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules_v3/batch_update/plugins/death_y.php')
-rw-r--r--modules_v3/batch_update/plugins/death_y.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules_v3/batch_update/plugins/death_y.php b/modules_v3/batch_update/plugins/death_y.php
index 5d7fd2716e..a961075939 100644
--- a/modules_v3/batch_update/plugins/death_y.php
+++ b/modules_v3/batch_update/plugins/death_y.php
@@ -47,7 +47,7 @@ class death_y_bu_plugin extends base_plugin {
* @return boolean
*/
public function doesRecordNeedUpdate($xref, $gedrec) {
- return !preg_match('/\n1 ('.WT_EVENTS_DEAT.')/', $gedrec) && WT_Individual::getInstance($xref)->isDead();
+ return !preg_match('/\n1 (' . WT_EVENTS_DEAT . ')/', $gedrec) && WT_Individual::getInstance($xref)->isDead();
}
/**
@@ -59,6 +59,6 @@ class death_y_bu_plugin extends base_plugin {
* @return string
*/
public function updateRecord($xref, $gedrec) {
- return $gedrec."\n1 DEAT Y";
+ return $gedrec . "\n1 DEAT Y";
}
}