From 0848fcb69bfe002a7ef5beaa647498c2ba6eca9a Mon Sep 17 00:00:00 2001 From: wlx Date: Wed, 11 Jun 2014 02:59:59 +0000 Subject: [PATCH] change for debug --- application/admin/controllers/NewsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/controllers/NewsController.php b/application/admin/controllers/NewsController.php index 3e7bc646..10e7819f 100644 --- a/application/admin/controllers/NewsController.php +++ b/application/admin/controllers/NewsController.php @@ -51,7 +51,7 @@ class Admin_NewsController extends Zend_Controller_Action left join ".$News->tbl_catalog." ct on ct.aid=n.id left join ".$News->tbl_categorys." c on c.id = ct.cid LEFT JOIN users u ON n.userid=u.id - WHERE n.title IS NOT NULL and n.sub='$this->view->config->sub->news' + WHERE n.title IS NOT NULL and n.sub='".$this->view->config->sub->news."' GROUP BY n.id ORDER BY n.ts_created desc ";