diff --git a/scripts/sitelink2pmgr.pl b/scripts/sitelink2pmgr.pl index 63ef777..ea0db31 100644 --- a/scripts/sitelink2pmgr.pl +++ b/scripts/sitelink2pmgr.pl @@ -376,8 +376,8 @@ $info{'extents'}{'bottom'} = $internal_adjustment_factor * ($top_adjustment + $ $info{'extents'}{'right'} = $internal_adjustment_factor * ($left_adjustment + $row->{'rgt'} + 0); $query = - "INSERT INTO pmgr_maps (id, site_area_id, width, depth) VALUES\n" . - " (1, $aicur_area_id," . + "INSERT INTO pmgr_maps (id, name, site_area_id, width, depth) VALUES\n" . + " (1, 'Main Facility Map', $aicur_area_id," . ($info{'extents'}{'right'} - $info{'extents'}{'left'}) . ", " . ($info{'extents'}{'bottom'} - $info{'extents'}{'top'}) . ")"; query($db_handle, $query) || die("Unable to insert");