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);