Passed
Pull Request — master (#3675)
by
unknown
07:46
created
app/Module/PlaceHierarchyListModule.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -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.