Code Duplication    Length = 7-7 lines in 3 locations

app/Functions/FunctionsPrintLists.php 3 locations

@@ 366-372 (lines=7) @@
363
364
			// Birth place
365
			$html .= '<td>';
366
			foreach ($individual->getAllBirthPlaces() as $n => $birth_place) {
367
				if ($n > 0) {
368
					$html .= '<br>';
369
				}
370
				$html .= '<a href="' . $birth_place->getURL() . '" title="' . strip_tags($birth_place->getFullName()) . '">';
371
				$html .= $birth_place->getShortName() . '</a>';
372
			}
373
			$html .= '</td>';
374
375
			// Number of children
@@ 414-420 (lines=7) @@
411
412
			// Death place
413
			$html .= '<td>';
414
			foreach ($individual->getAllDeathPlaces() as $n => $death_place) {
415
				if ($n > 0) {
416
					$html .= '<br>';
417
				}
418
				$html .= '<a href="' . $death_place->getURL() . '" title="' . strip_tags($death_place->getFullName()) . '">';
419
				$html .= $death_place->getShortName() . '</a>';
420
			}
421
			$html .= '</td>';
422
423
			// Last change
@@ 844-850 (lines=7) @@
841
842
			// Marriage place
843
			$html .= '<td>';
844
			foreach ($family->getAllMarriagePlaces() as $n => $marriage_place) {
845
				if ($n) {
846
					$html .= '<br>';
847
				}
848
				$html .= '<a href="' . $marriage_place->getURL() . '" title="' . strip_tags($marriage_place->getFullName()) . '">';
849
				$html .= $marriage_place->getShortName() . '</a>';
850
			}
851
			$html .= '</td>';
852
853
			// Number of children