修复ISO 19115中不能保存元数据series的问题

This commit is contained in:
wlx 2014-09-19 08:31:02 +00:00
parent f5d73ba015
commit 8c450f4baa
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class ISO19115
else { else {
$sql="insert into en.series (name) values(?)"; $sql="insert into en.series (name) values(?)";
$db->query($sql,array($ds['seriesName'])); $db->query($sql,array($ds['seriesName']));
$sid=$db->lastInsertId('series','id'); $sid=$db->lastInsertId('en.series','id');
} }
$sql="insert into en.dataseries (id,sid) values(?,?)"; $sql="insert into en.dataseries (id,sid) values(?,?)";
$db->query($sql,array($id,$sid)); $db->query($sql,array($id,$sid));