From be2bcbca391c09676ac581395a6cdcc3722bc4f3 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 13 Mar 2009 03:06:37 +0000 Subject: [PATCH] =?UTF-8?q?fix=20ticket=20#67.(=E7=A6=BB=E7=BA=BF=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E8=AE=B0=E5=BD=95=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/DataController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index 8de5afbc..1bae8c02 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -89,7 +89,7 @@ class DataController extends Zend_Controller_Action //展示最近20条离线神情记录情况 function offlineappAction() { - $sql="select * from offlineapp order by id desc limit 20"; + $sql="select * from offlineapp where ts_approved is not null order by id desc limit 20"; $this->view->rows=$this->db->fetchAll($sql); } function requestAction()