修复不能保存编辑的功能
This commit is contained in:
parent
d8e93e9e1a
commit
a6d552c004
|
@ -654,7 +654,9 @@ class Admin_DataController extends Zend_Controller_Action
|
|||
{
|
||||
//更新文献信息
|
||||
$sql="update mdref set refid=? where uuid=? and refid=?";
|
||||
$td = $this->db->query($sql,array($row['id'],$formdata['uuid'],$edit));
|
||||
$td = $this->db->query($sql,array($row['id'],$formdata['uuid'],$edit));
|
||||
$sql="update reference set reference=?,link=? where id=?";
|
||||
$this->db->query($sql,array($formdata['reference'],$formdata['link'],$row['id']));
|
||||
if($td)
|
||||
{
|
||||
$this->messenger->addMessage('提示信息:您已经编辑该数据文献。');
|
||||
|
|
Loading…
Reference in New Issue