change for debug
This commit is contained in:
parent
d75be5b0c8
commit
0848fcb69b
|
@ -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
|
||||
";
|
||||
|
|
Loading…
Reference in New Issue