|
@@ -238,7 +238,8 @@ |
|
|
block discarded – undo |
|
238
|
238
|
$geo_link = ''; |
|
239
|
239
|
if (Auth::isAdmin()) { |
|
240
|
240
|
$location = new PlaceLocation($place->gedcomName()); |
|
241
|
|
- if ($location->id() !== 0 || $location->parent()->id() !== 0) { //Can't edit the world's coordinates |
|
|
241
|
+ if ($location->id() !== 0 || $location->parent()->id() !== 0) { |
|
|
242
|
+//Can't edit the world's coordinates |
|
242
|
243
|
$geo_link = route('map-data-edit', ['place_id' => $location->id(), 'parent_id' => $location->parent()->id()]); |
|
243
|
244
|
} |
|
244
|
245
|
} |
Please login to merge, or discard this patch.