Code Duplication    Length = 7-7 lines in 2 locations

app/Module/GoogleMapsModule.php 2 locations

@@ 508-514 (lines=7) @@
505
						$lon[$i] = strtr($latlongval[$i]->pl_long, ['N' => '', 'S' => '-', ',' => '.']);
506
						if ($lat[$i] && $lon[$i]) {
507
							$count++;
508
						} else {
509
							// The place is in the table but has empty values
510
							if ($name) {
511
								$missing[] = '<a href="' . $person->getHtmlUrl() . '">' . $name . '</a>';
512
								$miscount++;
513
							}
514
						}
515
					} else {
516
						// There was no place, or not listed in the map table
517
						if ($name) {
@@ 515-521 (lines=7) @@
512
								$miscount++;
513
							}
514
						}
515
					} else {
516
						// There was no place, or not listed in the map table
517
						if ($name) {
518
							$missing[] = '<a href="' . $person->getHtmlUrl() . '">' . $name . '</a>';
519
							$miscount++;
520
						}
521
					}
522
				}
523
			}
524