summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2013-07-25 20:47:27 +0000
committerfisharebest <fisharebest@gmail.com>2013-07-25 20:47:27 +0000
commit7a2ad247cb71acb723bd57bb7f64517ea1b7a2ad (patch)
treed9320616ea2abc7f381b0401c9ceae635792bfaf
parent2c09ead00de35775ba2b76985f0c155a37d9cab7 (diff)
downloadwebtrees-7a2ad247cb71acb723bd57bb7f64517ea1b7a2ad.tar.gz
webtrees-7a2ad247cb71acb723bd57bb7f64517ea1b7a2ad.tar.bz2
webtrees-7a2ad247cb71acb723bd57bb7f64517ea1b7a2ad.zip
#1204815 - Events of Close relatives - Christening event error
-rw-r--r--includes/functions/functions_print_facts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_print_facts.php b/includes/functions/functions_print_facts.php
index f6087251fa..a961af298b 100644
--- a/includes/functions/functions_print_facts.php
+++ b/includes/functions/functions_print_facts.php
@@ -91,7 +91,7 @@ function print_fact(WT_Fact $fact, WT_GedcomRecord $record) {
}
// Event of close relative
- if (preg_match('/^_[A-Z_]{4,5}_[A-Z0-9]{4}$/', $fact->getTag())) {
+ if (preg_match('/^_[A-Z_]{3,5}_[A-Z0-9]{4}$/', $fact->getTag())) {
$styleadd = trim($styleadd . ' rela');
}