diff --git a/application/models/data/Doi.php b/application/models/data/Doi.php index 003b8c17..61396feb 100644 --- a/application/models/data/Doi.php +++ b/application/models/data/Doi.php @@ -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']);