From fbc21545680d2988c4babdc3723f4ce2471e7edd Mon Sep 17 00:00:00 2001 From: wlx Date: Mon, 5 Jan 2015 05:08:32 +0000 Subject: [PATCH] set author & org to null array --- application/models/data/Doi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/data/Doi.php b/application/models/data/Doi.php index 61396feb..16e62ede 100644 --- a/application/models/data/Doi.php +++ b/application/models/data/Doi.php @@ -141,8 +141,8 @@ class Doi extends Zend_Controller_Plugin_Abstract //$orgs = "{".join(",",$orgs)."}"; $authors_en = "{".join(",",$authors_en)."}"; $orgs_en = "{".join(",",$orgs_en)."}"; - $data['authors'] = null; - $data['organization'] = null; + $data['authors'] = '{}'; + $data['organization'] = '{}'; $data['author_en'] = $authors_en; $data['organization_en'] = $orgs_en; unset($data['info']);