From d43730cb765e91c289c0806eea1262ed32a20cf4 Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Fri, 19 Apr 2013 02:55:38 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=AA=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E5=88=97=E8=A1=A8=E7=9A=84=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/HeiheController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/HeiheController.php b/application/default/controllers/HeiheController.php index 8d9df31e..b59fbd44 100644 --- a/application/default/controllers/HeiheController.php +++ b/application/default/controllers/HeiheController.php @@ -809,7 +809,7 @@ class HeiheController extends DataController { $this->_helper->viewRenderer('project-index'); - $sql = "SELECT * FROM heiheproject WHERE attachid IS NULL OR attachid=0"; + $sql = "SELECT * FROM heiheproject WHERE status=0"; $sth = $this->db->query($sql); $rows = $sth->fetchAll();