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