修复中文分号问题

This commit is contained in:
wlx 2012-04-01 06:33:55 +00:00
parent 5397ca80c4
commit 27eddb73bd
1 changed files with 1 additions and 2 deletions

View File

@ -228,9 +228,8 @@ class ISO19115
//M:N relation //M:N relation
if ($this->datasetSeries) foreach($this->datasetSeries as $ds) if ($this->datasetSeries) foreach($this->datasetSeries as $ds)
{ {
$where=$db->quoteInto('name = ?',$ds['seriesName']);
$sql="select id from series where name=?"; $sql="select id from series where name=?";
$sth=$db->prepare($sql) $sth=$db->prepare($sql);
$sth->execute(array($ds['seriesName'])); $sth->execute(array($ds['seriesName']));
$trow=$sth->fetch(); $trow=$sth->fetch();
$trow=$seriestable->fetchRow($where); $trow=$seriestable->fetchRow($where);