From f49ecfbce3075ec7d80e15ccd8c540dd2f5ea527 Mon Sep 17 00:00:00 2001 From: wlx Date: Mon, 5 Jan 2015 07:13:51 +0000 Subject: [PATCH] fix doi xml error --- application/admin/controllers/DataController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index f7f809b0..4e6e7340 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -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'"; $row=$this->db->fetchRow($sql); $timestamp=date('YmdHis'); - $authors=explode(',',substr($row['authors'],1,-1)); - $orgs=explode(',',substr($row['organization'],1,-1)); + $authors=explode(',',substr($row['authors_en'],1,-1)); + $orgs=explode(',',substr($row['organization_en'],1,-1)); $doi=' '.$timestamp.'