修复元数据倒入的错误

This commit is contained in:
wlx 2012-12-11 10:01:16 +00:00
parent f60b21375e
commit 8029a93ca1
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ class HeiheController extends DataController
//检查元数据错误 //检查元数据错误
$iso=new ISO19115(); $iso=new ISO19115();
@$iso->loadXML($row['data']); @$iso->loadXML($row['xml']);
if ($iso->validate()) if ($iso->validate())
{ {
$data=array("error"=>"元数据导入过程中发现错误。<br />".implode("<br />",$iso->error)); $data=array("error"=>"元数据导入过程中发现错误。<br />".implode("<br />",$iso->error));