summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2013-07-06 06:11:57 +0000
committerfisharebest <fisharebest@gmail.com>2013-07-06 06:11:57 +0000
commit1161456b266a50b3056fdaae59588feeb3af2a69 (patch)
treeb7055c50557d3718c2d97178e1d9b11f3c52bca9
parent3deee921b1f68db444990765ffe161239d097ef4 (diff)
downloadwebtrees-1161456b266a50b3056fdaae59588feeb3af2a69.tar.gz
webtrees-1161456b266a50b3056fdaae59588feeb3af2a69.tar.bz2
webtrees-1161456b266a50b3056fdaae59588feeb3af2a69.zip
Highlight pending changes of close relatives
-rw-r--r--includes/functions/functions_print_facts.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/functions/functions_print_facts.php b/includes/functions/functions_print_facts.php
index 38795fc8e8..947eded42a 100644
--- a/includes/functions/functions_print_facts.php
+++ b/includes/functions/functions_print_facts.php
@@ -92,17 +92,17 @@ 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())) {
- $styleadd='rela';
+ $styleadd .= ' rela';
}
// Event of close associates
if ($fact->getFactId()=='asso') {
- $styleadd='rela';
+ $styleadd .= ' rela';
}
// historical facts
if ($fact->getFactId()=='histo') {
- $styleadd='histo';
+ $styleadd .= ' histo';
}
// Does this fact have a type?