diff --git a/application/default/controllers/ReviewController.php b/application/default/controllers/ReviewController.php index cd76dbe7..7e2fdedf 100644 --- a/application/default/controllers/ReviewController.php +++ b/application/default/controllers/ReviewController.php @@ -153,7 +153,7 @@ class ReviewController extends Zend_Controller_Action $sql = "select r.id,r.uuid,r.userid,r.ts_created,u.realname,r.mdcomment,r.conclusion,ratt.reviewid from mdreview r left join users u on u.id=r.userid - right join mdreviewattach ratt on r.id=ratt.reviewid + 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 ";