Code Duplication    Length = 7-7 lines in 2 locations

src/Webtrees/Module/Sosa/Views/SosaListFamView.php 1 location

@@ 286-292 (lines=7) @@
283
            		} ?>
284
            		</td>
285
            		<td><?php 
286
            		foreach ($family->getAllMarriagePlaces() as $n => $marriage_place) {
287
				        $tmp = new Place($marriage_place, $family->getTree());
288
        				if ($n) { ?><br><?php } ?>
289
        				<a href="'<?= $tmp->getURL() ?>" title="<?= strip_tags($tmp->getFullName()) ?>">
290
        					<?= \Fisharebest\Webtrees\Functions\FunctionsPrint::highlightSearchHits($tmp->getShortName()) ?>
291
        				</a>
292
        			<?php  } ?>
293
        			</td>
294
        			<?php if (ModuleManager::getInstance()->isOperational(Constants::MODULE_MAJ_ISSOURCED_NAME)) {
295
				        $isMSourced = $dfamily->isMarriageSourced(); ?>

src/Webtrees/Module/Sosa/Views/SosaListIndiView.php 1 location

@@ 261-267 (lines=7) @@
258
			         } ?>
259
			         <td class="center" data-sort="<?= $age_at_death_sort ?>"><?= $age_at_death ?></td>
260
			         <td>
261
        			 <?php foreach ($person->getAllDeathPlaces() as $n => $death_place) {
262
        				$tmp = new Place($death_place, $person->getTree());
263
        				if ($n) { ?><br><?php } ?>
264
        				<a href="'<?= $tmp->getURL() ?>" title="<?= strip_tags($tmp->getFullName()) ?>">
265
        					<?= \Fisharebest\Webtrees\Functions\FunctionsPrint::highlightSearchHits($tmp->getShortName()) ?>
266
        				</a>
267
        			<?php } ?>
268
        			</td>
269
        			<?php if (ModuleManager::getInstance()->isOperational(Constants::MODULE_MAJ_ISSOURCED_NAME)) {
270
        			    if($person->isDead()) {