diff --git a/application/models/data/Doi.php b/application/models/data/Doi.php index 7a92c5e1..003b8c17 100644 --- a/application/models/data/Doi.php +++ b/application/models/data/Doi.php @@ -239,18 +239,10 @@ class Doi extends Zend_Controller_Plugin_Abstract } foreach($info as $k=>$v) { - if(empty($v['author']) && empty($v['organization']) && empty($v['order']) && empty($v['author_en']) && empty($v['organization_en']) ) + if(empty($v['order']) && empty($v['author_en']) && empty($v['organization_en']) ) { unset($info[$k]); }else{ - if(empty($v['author'])) - { - return "请输入 $k 中的作者"; - } - if(empty($v['organization'])) - { - return "请输入 $k 中的单位"; - } if(empty($v['author_en'])) { return "请输入 $k 中的作者英文";