修复元数据倒入的错误
This commit is contained in:
parent
f60b21375e
commit
8029a93ca1
|
@ -491,7 +491,7 @@ class HeiheController extends DataController
|
|||
|
||||
//检查元数据错误
|
||||
$iso=new ISO19115();
|
||||
@$iso->loadXML($row['data']);
|
||||
@$iso->loadXML($row['xml']);
|
||||
if ($iso->validate())
|
||||
{
|
||||
$data=array("error"=>"元数据导入过程中发现错误。<br />".implode("<br />",$iso->error));
|
||||
|
|
Loading…
Reference in New Issue