From f43305a34fb84beb8f8ab55a76131359c937abda Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Thu, 20 Oct 2011 02:05:30 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controllers/ReviewController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/admin/controllers/ReviewController.php b/application/admin/controllers/ReviewController.php index c0bac0c7..88d9657f 100644 --- a/application/admin/controllers/ReviewController.php +++ b/application/admin/controllers/ReviewController.php @@ -493,7 +493,7 @@ class Admin_ReviewController extends Zend_Controller_Action $this->view->keyword = $keyword; } - $sql = "select m.id,md.title,u.username,u.realname,m.status from mdstatus m + $sql = "select m.id,md.uuid,md.title,u.username,u.realname,m.status from mdstatus m left join metadata md on md.uuid=m.uuid left join users u on u.id=m.userid where u.id='$userid' $searchjoin"; @@ -821,7 +821,7 @@ class Admin_ReviewController extends Zend_Controller_Action $this->_redirect($redirect); } - $sql = "select r.id,r.mdcomment,r.datacomment,r.editorcomment,u.realname,md.title,att.filename,r.ts_created,ratt.attachid as attid from mdreview r + $sql = "select r.id,r.uuid,r.mdcomment,r.datacomment,r.editorcomment,u.realname,md.title,att.filename,r.ts_created,ratt.attachid as attid from mdreview r left join metadata md on md.uuid=r.uuid left join users u on u.id=r.userid left join mdreviewattach ratt on ratt.reviewid=r.id