set the author and org null
This commit is contained in:
parent
542bcdd09a
commit
d5b3d9db04
|
@ -132,17 +132,17 @@ class Doi extends Zend_Controller_Plugin_Abstract
|
|||
$orgs_en = array();
|
||||
foreach($data['info'] as $k=>$v)
|
||||
{
|
||||
$authors[$v['order']] = str_replace(",",",",$v['author']);
|
||||
$orgs[$v['order']] = str_replace(",",",",$v['organization']);
|
||||
@$authors[$v['order']] = str_replace(",",",",$v['author']);
|
||||
@$orgs[$v['order']] = str_replace(",",",",$v['organization']);
|
||||
$authors_en[$v['order']] = str_replace(",",",",$v['author_en']);
|
||||
$orgs_en[$v['order']] = str_replace(",",",",$v['organization_en']);
|
||||
}
|
||||
$authors = "{".join(",",$authors)."}";
|
||||
$orgs = "{".join(",",$orgs)."}";
|
||||
//$authors = "{".join(",",$authors)."}";
|
||||
//$orgs = "{".join(",",$orgs)."}";
|
||||
$authors_en = "{".join(",",$authors_en)."}";
|
||||
$orgs_en = "{".join(",",$orgs_en)."}";
|
||||
$data['authors'] = $authors;
|
||||
$data['organization'] = $orgs;
|
||||
$data['authors'] = null;
|
||||
$data['organization'] = null;
|
||||
$data['author_en'] = $authors_en;
|
||||
$data['organization_en'] = $orgs_en;
|
||||
unset($data['info']);
|
||||
|
|
Loading…
Reference in New Issue