From 9268c503af33648659d779583b0ecd5f537c4e81 Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Mon, 22 Sep 2014 14:42:00 +0000 Subject: [PATCH] Do not display the "hidden" config category --- web/api/app/Controller/ConfigsController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/api/app/Controller/ConfigsController.php b/web/api/app/Controller/ConfigsController.php index 0687e3df5..acb87d6bc 100644 --- a/web/api/app/Controller/ConfigsController.php +++ b/web/api/app/Controller/ConfigsController.php @@ -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(