From 8c450f4baa29485cb0353ffabc688a6ef5348933 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 19 Sep 2014 08:31:02 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DISO=2019115=E4=B8=AD=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E4=BF=9D=E5=AD=98=E5=85=83=E6=95=B0=E6=8D=AEseries?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/models/ISO19115.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/ISO19115.php b/application/models/ISO19115.php index 0f0be107..bbb4271c 100755 --- a/application/models/ISO19115.php +++ b/application/models/ISO19115.php @@ -256,7 +256,7 @@ class ISO19115 else { $sql="insert into en.series (name) values(?)"; $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(?,?)"; $db->query($sql,array($id,$sid));