Code Duplication    Length = 3-3 lines in 2 locations

app/Module/GoogleMapsModule.php 2 locations

@@ 2358-2360 (lines=3) @@
2355
					$placelistUniq[$j - 1]['long'] = $place['long'];
2356
					$placelistUniq[$j - 1]['zoom'] = $place['zoom'];
2357
					$placelistUniq[$j - 1]['icon'] = $place['icon'];
2358
				} elseif (($place['lati'] != '0') || ($place['long'] != '0')) {
2359
					echo 'Difference: previous value = ', $prevPlace, ', ', $prevLati, ', ', $prevLong, ' current = ', $place['place'], ', ', $place['lati'], ', ', $place['long'], '<br>';
2360
				}
2361
			}
2362
			$prevPlace = $place['place'];
2363
			$prevLati  = $place['lati'];
@@ 3178-3180 (lines=3) @@
3175
					if (($placelistUniq[$j - 1]['lati'] == 0) || ($placelistUniq[$j - 1]['long'] == 0)) {
3176
						$placelistUniq[$j - 1]['lati'] = $place['lati'];
3177
						$placelistUniq[$j - 1]['long'] = $place['long'];
3178
					} elseif (($place['lati'] != '0') || ($place['long'] != '0')) {
3179
						echo 'Difference: previous value = ', $prevPlace, ', ', $prevLati, ', ', $prevLong, ' current = ', $place['place'], ', ', $place['lati'], ', ', $place['long'], '<br>';
3180
					}
3181
				}
3182
				$prevPlace = $place['place'];
3183
				$prevLati  = $place['lati'];