#536 修改一处逻辑错误
This commit is contained in:
parent
3f3198b355
commit
27082e4a26
|
@ -3670,7 +3670,6 @@ class Admin_DataController extends Zend_Controller_Action
|
|||
include('data/Metadata.php');
|
||||
$md = new Metadata($this->db);
|
||||
$metadata = $md->view($uuid);
|
||||
$this->view->data['doi'] = $metadata['doi'];
|
||||
if(empty($this->view->data))
|
||||
{
|
||||
$this->view->data = array(
|
||||
|
@ -3683,6 +3682,7 @@ class Admin_DataController extends Zend_Controller_Action
|
|||
'publisher_en'=>'Cold and Arid Regions Science Data Center at Lanzhou',
|
||||
);
|
||||
}else{
|
||||
$this->view->data['doi'] = $metadata['doi'];
|
||||
$this->view->data['info'] = $doi->data_process_out($this->view->data);
|
||||
}
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue