change for debug

This commit is contained in:
wlx 2014-06-11 02:59:59 +00:00
parent d75be5b0c8
commit 0848fcb69b
1 changed files with 1 additions and 1 deletions

View File

@ -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
";