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();
|
$orgs_en = array();
|
||||||
foreach($data['info'] as $k=>$v)
|
foreach($data['info'] as $k=>$v)
|
||||||
{
|
{
|
||||||
$authors[$v['order']] = str_replace(",",",",$v['author']);
|
@$authors[$v['order']] = str_replace(",",",",$v['author']);
|
||||||
$orgs[$v['order']] = str_replace(",",",",$v['organization']);
|
@$orgs[$v['order']] = str_replace(",",",",$v['organization']);
|
||||||
$authors_en[$v['order']] = str_replace(",",",",$v['author_en']);
|
$authors_en[$v['order']] = str_replace(",",",",$v['author_en']);
|
||||||
$orgs_en[$v['order']] = str_replace(",",",",$v['organization_en']);
|
$orgs_en[$v['order']] = str_replace(",",",",$v['organization_en']);
|
||||||
}
|
}
|
||||||
$authors = "{".join(",",$authors)."}";
|
//$authors = "{".join(",",$authors)."}";
|
||||||
$orgs = "{".join(",",$orgs)."}";
|
//$orgs = "{".join(",",$orgs)."}";
|
||||||
$authors_en = "{".join(",",$authors_en)."}";
|
$authors_en = "{".join(",",$authors_en)."}";
|
||||||
$orgs_en = "{".join(",",$orgs_en)."}";
|
$orgs_en = "{".join(",",$orgs_en)."}";
|
||||||
$data['authors'] = $authors;
|
$data['authors'] = null;
|
||||||
$data['organization'] = $orgs;
|
$data['organization'] = null;
|
||||||
$data['author_en'] = $authors_en;
|
$data['author_en'] = $authors_en;
|
||||||
$data['organization_en'] = $orgs_en;
|
$data['organization_en'] = $orgs_en;
|
||||||
unset($data['info']);
|
unset($data['info']);
|
||||||
|
|
Loading…
Reference in New Issue