Code Duplication    Length = 8-8 lines in 2 locations

app/Stats.php 2 locations

@@ 1463-1470 (lines=8) @@
1460
		case 'name':
1461
			$result = '<a href="' . $record->getHtmlUrl() . '">' . $record->getFullName() . '</a>';
1462
			break;
1463
		case 'place':
1464
			$fact = GedcomRecord::getInstance($row['d_gid'], $this->tree)->getFirstFact($row['d_fact']);
1465
			if ($fact) {
1466
				$result = FunctionsPrint::formatFactPlace($fact, true, true, true);
1467
			} else {
1468
				$result = I18N::translate('Private');
1469
			}
1470
			break;
1471
		}
1472
1473
		return $result;
@@ 2968-2975 (lines=8) @@
2965
		case 'name':
2966
			$result = '<a href="' . $record->getHtmlUrl() . '">' . $record->getFullName() . '</a>';
2967
			break;
2968
		case 'place':
2969
			$fact = $record->getFirstFact($row['fact']);
2970
			if ($fact) {
2971
				$result = FunctionsPrint::formatFactPlace($fact, true, true, true);
2972
			} else {
2973
				$result = I18N::translate('Private');
2974
			}
2975
			break;
2976
		}
2977
2978
		return $result;