fix #372, 不添加空白关键词

This commit is contained in:
wlx 2012-06-19 08:08:55 +00:00
parent 5a6edc2cc6
commit c681bd286f
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ class ISO19115
foreach($keys as $key)
{
$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));
}
}
//处理数据集序列