fix #372, 不添加空白关键词
This commit is contained in:
parent
5a6edc2cc6
commit
c681bd286f
|
@ -226,7 +226,7 @@ class ISO19115
|
||||||
foreach($keys as $key)
|
foreach($keys as $key)
|
||||||
{
|
{
|
||||||
$sql="insert into keyword (id,keyword,keytype) values(?,?,?)";
|
$sql="insert into keyword (id,keyword,keytype) values(?,?,?)";
|
||||||
$db->query($sql,array($id,$key,$keytype));
|
if (!empty($key)) $db->query($sql,array($id,$key,$keytype));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//处理数据集序列
|
//处理数据集序列
|
||||||
|
|
Loading…
Reference in New Issue