确认空白序列不会进行数据库操作
This commit is contained in:
parent
e9e6bbc479
commit
710a816368
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue