From 3cc8e95ff49015e92c1bc3548407734e02d86f93 Mon Sep 17 00:00:00 2001 From: abijah Date: Thu, 28 May 2009 23:18:20 +0000 Subject: [PATCH] Added a name for our lone map git-svn-id: file:///svn-source/pmgr/branches/initial_20090526@31 97e9348a-65ac-dc4b-aefc-98561f571b83 --- scripts/sitelink2pmgr.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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");