From 9e0973104a58751efa8010355b76d779abff6b64 Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Tue, 8 Nov 2011 07:47:10 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9review=E4=B8=AD=E8=AF=84?= =?UTF-8?q?=E5=AE=A1=E6=84=8F=E8=A7=81=E7=9A=84=E8=B0=83=E7=94=A8=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/ReviewController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/default/controllers/ReviewController.php b/application/default/controllers/ReviewController.php index 98eca59a..eaec34ff 100644 --- a/application/default/controllers/ReviewController.php +++ b/application/default/controllers/ReviewController.php @@ -156,6 +156,7 @@ class ReviewController extends Zend_Controller_Action left join mdreviewattach ratt on r.id=ratt.reviewid where r.uuid='$uuid' and r.status>-1 group by r.id,r.uuid,r.userid,r.ts_created,u.realname,r.mdcomment,r.conclusion,ratt.reviewid + order by r.id desc "; $rs = $this->db->query($sql); @@ -437,8 +438,6 @@ class ReviewController extends Zend_Controller_Action $row = $re->fetch(); - $file = new files(); - $fullPath = $this->view->config->upload.$row['filename']; $fsize = filesize($fullPath);