From 46b0a1f78334f6b13f3bb11826e3e1f13d42ba44 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 2 Sep 2014 23:47:52 +0000 Subject: [PATCH] fix status error --- application/admin/controllers/ReviewController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/controllers/ReviewController.php b/application/admin/controllers/ReviewController.php index f37e60c4..8f76dbaf 100644 --- a/application/admin/controllers/ReviewController.php +++ b/application/admin/controllers/ReviewController.php @@ -816,7 +816,7 @@ class Admin_ReviewController extends Zend_Controller_Action right join metadata md on md.uuid=m.uuid left join users u on u.id=m.userid left join geonetworkmetadata gn on m.uuid=gn.uuid - where status=0 $searchjoin order by m.ts_created desc"; + where m.status=0 $searchjoin order by m.ts_created desc"; $re = $this->db->query($sql); $rows = $re->fetchAll();