From 27eddb73bdb3c2ae35777137752f9d03cbab58f5 Mon Sep 17 00:00:00 2001 From: wlx Date: Sun, 1 Apr 2012 06:33:55 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=AD=E6=96=87=E5=88=86?= =?UTF-8?q?=E5=8F=B7=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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/models/ISO19115.php b/application/models/ISO19115.php index 00069607..b80f8370 100755 --- a/application/models/ISO19115.php +++ b/application/models/ISO19115.php @@ -228,9 +228,8 @@ class ISO19115 //M:N relation if ($this->datasetSeries) foreach($this->datasetSeries as $ds) { - $where=$db->quoteInto('name = ?',$ds['seriesName']); $sql="select id from series where name=?"; - $sth=$db->prepare($sql); + $sth=$db->prepare($sql); $sth->execute(array($ds['seriesName'])); $trow=$sth->fetch(); $trow=$seriestable->fetchRow($where);