set author & org to null array

This commit is contained in:
wlx 2015-01-05 05:08:32 +00:00
parent d5b3d9db04
commit fbc2154568
1 changed files with 2 additions and 2 deletions

View File

@ -141,8 +141,8 @@ class Doi extends Zend_Controller_Plugin_Abstract
//$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'] = null; $data['authors'] = '{}';
$data['organization'] = null; $data['organization'] = '{}';
$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']);