Added a name for our lone map
git-svn-id: file:///svn-source/pmgr/branches/initial_20090526@31 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -376,8 +376,8 @@ $info{'extents'}{'bottom'} = $internal_adjustment_factor * ($top_adjustment + $
|
|||||||
$info{'extents'}{'right'} = $internal_adjustment_factor * ($left_adjustment + $row->{'rgt'} + 0);
|
$info{'extents'}{'right'} = $internal_adjustment_factor * ($left_adjustment + $row->{'rgt'} + 0);
|
||||||
|
|
||||||
$query =
|
$query =
|
||||||
"INSERT INTO pmgr_maps (id, site_area_id, width, depth) VALUES\n" .
|
"INSERT INTO pmgr_maps (id, name, site_area_id, width, depth) VALUES\n" .
|
||||||
" (1, $aicur_area_id," .
|
" (1, 'Main Facility Map', $aicur_area_id," .
|
||||||
($info{'extents'}{'right'} - $info{'extents'}{'left'}) . ", " .
|
($info{'extents'}{'right'} - $info{'extents'}{'left'}) . ", " .
|
||||||
($info{'extents'}{'bottom'} - $info{'extents'}{'top'}) . ")";
|
($info{'extents'}{'bottom'} - $info{'extents'}{'top'}) . ")";
|
||||||
query($db_handle, $query) || die("Unable to insert");
|
query($db_handle, $query) || die("Unable to insert");
|
||||||
|
|||||||
Reference in New Issue
Block a user