avoid to check chinese field
This commit is contained in:
parent
3e8640675b
commit
542bcdd09a
|
@ -239,18 +239,10 @@ class Doi extends Zend_Controller_Plugin_Abstract
|
||||||
}
|
}
|
||||||
foreach($info as $k=>$v)
|
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]);
|
unset($info[$k]);
|
||||||
}else{
|
}else{
|
||||||
if(empty($v['author']))
|
|
||||||
{
|
|
||||||
return "请输入 $k 中的作者";
|
|
||||||
}
|
|
||||||
if(empty($v['organization']))
|
|
||||||
{
|
|
||||||
return "请输入 $k 中的单位";
|
|
||||||
}
|
|
||||||
if(empty($v['author_en']))
|
if(empty($v['author_en']))
|
||||||
{
|
{
|
||||||
return "请输入 $k 中的作者英文";
|
return "请输入 $k 中的作者英文";
|
||||||
|
|
Loading…
Reference in New Issue