fix publisher problem

This commit is contained in:
wlx 2015-01-05 05:09:55 +00:00
parent fbc2154568
commit d694ad6f87
2 changed files with 1 additions and 2 deletions

View File

@ -53,7 +53,7 @@ $this->theme->AppendPlus($this,'colorbox');
<div class="form-group"> <div class="form-group">
<label class="col-md-2 col-sm-2 control-label" for="publisher">发布者</label> <label class="col-md-2 col-sm-2 control-label" for="publisher">发布者</label>
<div class="col-md-10 col-sm-10"> <div class="col-md-10 col-sm-10">
<input type="text" id="publisher" name="publisher" value="<?= isset($this->data['publisher']) ? $this->data['publisher']:"" ?>" class="form-control" /> <input type="text" id="publisher" name="publisher" value="<?= isset($this->data['publisher_en']) ? $this->data['publisher']:"" ?>" class="form-control" />
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">

View File

@ -110,7 +110,6 @@ class Doi extends Zend_Controller_Plugin_Abstract
}else{ }else{
$condition = " uuid='$uuid' "; $condition = " uuid='$uuid' ";
} }
$data['publisher_en']=$data['publisher'];
$data['publisher']=''; $data['publisher']='';
$data['title_en']=$data['title']; $data['title_en']=$data['title'];
$data['title']=''; $data['title']='';