fix doi xml error

This commit is contained in:
wlx 2015-01-05 07:13:51 +00:00
parent c1c939c57b
commit f49ecfbce3
1 changed files with 2 additions and 2 deletions

View File

@ -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>