diff --git a/collections/tools/mapcoordaid.php b/collections/tools/mapcoordaid.php
index 3c3ebe1ce3..91481fb51e 100644
--- a/collections/tools/mapcoordaid.php
+++ b/collections/tools/mapcoordaid.php
@@ -14,11 +14,10 @@
$wktInputId = array_key_exists("wkt_input_id", $_REQUEST)? htmlspecialchars($_REQUEST["wkt_input_id"]):"footprintwkt";
$outputType= array_key_exists("geoJson", $_REQUEST)?"geoJson":"wkt";
-$clManager = new ChecklistAdmin();
-$clManager->setClid($clid);
-
if($formSubmit){
if($formSubmit == 'save'){
+ $clManager = new ChecklistAdmin();
+ $clManager->setClid($clid);
$clManager->savePolygon($_POST['footprintwkt']);
$formSubmit = "exit";
}
@@ -66,7 +65,7 @@
Taxon Map
-