fix doi xml error
This commit is contained in:
parent
c1c939c57b
commit
f49ecfbce3
|
@ -4070,8 +4070,8 @@ class Admin_DataController extends Zend_Controller_Action
|
||||||
$sql="select d.*,m.description from datadoi d left join en.metadata m on d.uuid=m.uuid where d.uuid='$uuid'";
|
$sql="select d.*,m.description from datadoi d left join en.metadata m on d.uuid=m.uuid where d.uuid='$uuid'";
|
||||||
$row=$this->db->fetchRow($sql);
|
$row=$this->db->fetchRow($sql);
|
||||||
$timestamp=date('YmdHis');
|
$timestamp=date('YmdHis');
|
||||||
$authors=explode(',',substr($row['authors'],1,-1));
|
$authors=explode(',',substr($row['authors_en'],1,-1));
|
||||||
$orgs=explode(',',substr($row['organization'],1,-1));
|
$orgs=explode(',',substr($row['organization_en'],1,-1));
|
||||||
$doi='<doi_batch version="1.0.0">
|
$doi='<doi_batch version="1.0.0">
|
||||||
<head>
|
<head>
|
||||||
<doi_batch_id>'.$timestamp.'</doi_batch_id>
|
<doi_batch_id>'.$timestamp.'</doi_batch_id>
|
||||||
|
|
Loading…
Reference in New Issue