Removal of site_id from the maps table, corresponding with the last checkin

git-svn-id: file:///svn-source/pmgr/branches/initial_20090526@27 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-05-28 11:09:56 +00:00
parent ec3d986c78
commit 4a86d3dda0

View File

@@ -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_id, site_area_id, width, depth) VALUES\n" .
" (1, $aicur_site_id, $aicur_area_id," .
"INSERT INTO pmgr_maps (id, site_area_id, width, depth) VALUES\n" .
" (1, $aicur_area_id," .
($info{'extents'}{'right'} - $info{'extents'}{'left'}) . ", " .
($info{'extents'}{'bottom'} - $info{'extents'}{'top'}) . ")";
query($db_handle, $query) || die("Unable to insert");