确认空白序列不会进行数据库操作

This commit is contained in:
wlx 2013-06-07 09:45:10 +00:00
parent e9e6bbc479
commit 710a816368
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ class ISO19115
} }
//处理数据集序列 //处理数据集序列
//M:N relation //M:N relation
if ($this->datasetSeries) foreach($this->datasetSeries as $ds) if ($this->datasetSeries) foreach($this->datasetSeries as $ds) if (!empty($ds['seriesName']))
{ {
$sql="select id from series where name=?"; $sql="select id from series where name=?";
$sth=$db->prepare($sql); $sth=$db->prepare($sql);