summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/functions/functions_privacy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_privacy.php b/includes/functions/functions_privacy.php
index 6e4bcf6115..8a5042b1e6 100644
--- a/includes/functions/functions_privacy.php
+++ b/includes/functions/functions_privacy.php
@@ -82,7 +82,7 @@ function is_dead($indirec, $gedcom_id) {
}
// "1 DEAT Y" or "1 DEAT/2 DATE" or "1 DEAT/2 PLAC"
- if (preg_match('/\n1 (?:'.WT_EVENTS_DEAT.')(?: Y|(?:\n[2-9].+)*\n2 (PLAC|PLAC) )/', $indirec)) {
+ if (preg_match('/\n1 (?:'.WT_EVENTS_DEAT.')(?: Y|(?:\n[2-9].+)*\n2 (DATE|PLAC) )/', $indirec)) {
return true;
}