Do not display the "hidden" config category
parent
b9f54056da
commit
9268c503af
|
@ -114,6 +114,7 @@ class ConfigsController extends AppController {
|
||||||
} else {
|
} else {
|
||||||
$categories = $this->Config->find('all', array(
|
$categories = $this->Config->find('all', array(
|
||||||
'fields' => array('DISTINCT Config.Category'),
|
'fields' => array('DISTINCT Config.Category'),
|
||||||
|
'conditions' => array('Config.Category !=' => 'hidden'),
|
||||||
'recursive' => 0
|
'recursive' => 0
|
||||||
));
|
));
|
||||||
$this->set(array(
|
$this->set(array(
|
||||||
|
|
Loading…
Reference in New Issue