diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index a80a2835..7e18ce4b 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -582,11 +582,11 @@ class DataController extends Zend_Controller_Action //建议参考文献 $sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=0"; $sql=$this->db->quoteInto($sql,$uuid); - $this->view->ref=$this->db->fetchAll($sql); + $this->view->ref=$this->db->fetchAll($sql); //用户发表文献 $sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=1"; $sql=$this->db->quoteInto($sql,$uuid); - $this->view->userref=$this->db->fetchAll($sql); + $this->view->userref=$this->db->fetchAll($sql); //相关用户 $sql="select p.email,p.individual,p.organisation,r.role from role r left join responsible p on r.resid=p.id where r.uuid=? order by r.role,r.id"; $this->view->authors=$this->db->fetchAll($sql,array($uuid)); @@ -762,7 +762,7 @@ class DataController extends Zend_Controller_Action array( 'user' =>$user->username, 'uuid' =>$data['uuid'], - 'title' =>$this->replace(trim($this->_request->getParam('mdtitle'))), + 'title' =>$this->replace(trim($this->_request->getParam('mdtitle'))), 'content'=>$content ) ); @@ -826,13 +826,26 @@ class DataController extends Zend_Controller_Action