Code Duplication    Length = 8-8 lines in 2 locations

app/Functions/FunctionsPrintLists.php 2 locations

@@ 883-890 (lines=8) @@
880
			if ($husb->isDead() && $wife->isDead()) {
881
				$html .= 'Y';
882
			}
883
			if ($husb->isDead() && !$wife->isDead()) {
884
				if ($wife->getSex() == 'F') {
885
					$html .= 'H';
886
				}
887
				if ($wife->getSex() == 'M') {
888
					$html .= 'W';
889
				} // male partners
890
			}
891
			if (!$husb->isDead() && $wife->isDead()) {
892
				if ($husb->getSex() == 'M') {
893
					$html .= 'W';
@@ 891-898 (lines=8) @@
888
					$html .= 'W';
889
				} // male partners
890
			}
891
			if (!$husb->isDead() && $wife->isDead()) {
892
				if ($husb->getSex() == 'M') {
893
					$html .= 'W';
894
				}
895
				if ($husb->getSex() == 'F') {
896
					$html .= 'H';
897
				} // female partners
898
			}
899
			if (!$husb->isDead() && !$wife->isDead()) {
900
				$html .= 'N';
901
			}