diff options
| author | fisharebest <fisharebest@gmail.com> | 2011-10-21 12:29:15 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2011-10-21 12:29:15 +0000 |
| commit | d9947a81cef95fb7f851759bcd0e6604684900cf (patch) | |
| tree | 93e0ddd73c56ce1a633c26d75ee376b962c9b4a0 | |
| parent | 7aa9ebcf151b01a53039141c8e2229a4905c797f (diff) | |
| download | webtrees-d9947a81cef95fb7f851759bcd0e6604684900cf.tar.gz webtrees-d9947a81cef95fb7f851759bcd0e6604684900cf.tar.bz2 webtrees-d9947a81cef95fb7f851759bcd0e6604684900cf.zip | |
#834131 - Marriage Type printed upper case
| -rw-r--r-- | includes/functions/functions_print_facts.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/functions/functions_print_facts.php b/includes/functions/functions_print_facts.php index e865417da6..8a5ecd1cf3 100644 --- a/includes/functions/functions_print_facts.php +++ b/includes/functions/functions_print_facts.php @@ -139,9 +139,9 @@ function print_fact(WT_Event $fact, WT_GedcomRecord $record) { break; case 'MARR': // This is a hack for a proprietory extension. Is it still used/needed? - $type = strtoupper($type); - if ($type=='CIVIL' || $type=='PARTNERS' || $type=='RELIGIOUS' || $type=='UNKNOWN') { - $label=WT_Gedcom_Tag::getLabel('MARR_'.$type, $label_person); + $utype = strtoupper($type); + if ($utype=='CIVIL' || $utype=='PARTNERS' || $utype=='RELIGIOUS') { + $label=WT_Gedcom_Tag::getLabel('MARR_'.$utype, $label_person); $type=''; // Do not print this again } else { $label=WT_Gedcom_Tag::getLabel($fact->getTag(), $label_person); |
