From b1864526cd7d88d3cfdb15130687627528016b1e Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 20 Mar 2009 05:36:25 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E7=9A=84FT?= =?UTF-8?q?P=E7=94=A8=E6=88=B7=E5=90=8D=E4=B8=BAwestdc+id=E5=BD=A2?= =?UTF-8?q?=E5=BC=8F=E3=80=82(ticket=20#73)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/DataController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index 091edb83..ef5769af 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -551,7 +551,7 @@ class DataController extends Zend_Controller_Action $uuid=$this->_request->getParam('uuid'); if (empty($uuid)) $this->_redirect('/data'); $userid=Zend_Auth::getInstance()->getIdentity()->id; - $this->view->username='westdc'.Zend_Auth::getInstance()->getIdentity()->username; + $this->view->username='westdc'.Zend_Auth::getInstance()->getIdentity()->id; $sql=$this->db->quoteInto("select o.* from onlineresource o left join metadata m on o.uuid=m.uuid where m.datatype=0 and m.uuid=?",$uuid); $rows=$this->db->fetchAll($sql); $updateftp=$updateftp1=false;