修复不能保存编辑的功能

This commit is contained in:
wlx 2012-05-18 09:34:15 +00:00
parent d8e93e9e1a
commit a6d552c004
1 changed files with 3 additions and 1 deletions

View File

@ -655,6 +655,8 @@ 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));
$sql="update reference set reference=?,link=? where id=?";
$this->db->query($sql,array($formdata['reference'],$formdata['link'],$row['id']));
if($td)
{
$this->messenger->addMessage('提示信息:您已经编辑该数据文献。');