From e52810415df05034486c4d813b6cdeb00b50091a Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Tue, 15 Oct 2013 11:17:46 +0200 Subject: Fix issue #189: disparition de catégories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On ne chargeait plus les catégories sans flux. C'est utile sur la page principale, mais on ne pouvait plus les gérer dans la page de conf --- app/controllers/configureController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/controllers/configureController.php') diff --git a/app/controllers/configureController.php b/app/controllers/configureController.php index 1c4b92e77..380adcd1d 100755 --- a/app/controllers/configureController.php +++ b/app/controllers/configureController.php @@ -62,7 +62,7 @@ class configureController extends ActionController { Request::forward (array ('c' => 'configure', 'a' => 'categorize'), true); } - $this->view->categories = $catDAO->listCategories (); + $this->view->categories = $catDAO->listCategories (false); $this->view->defaultCategory = $catDAO->getDefault (); View::prependTitle (Translate::t ('categories_management') . ' - '); @@ -70,7 +70,7 @@ class configureController extends ActionController { public function feedAction () { $catDAO = new CategoryDAO (); - $this->view->categories = $catDAO->listCategories (); + $this->view->categories = $catDAO->listCategories (false); $feedDAO = new FeedDAO (); $this->view->feeds = $feedDAO->listFeeds (); @@ -91,7 +91,7 @@ class configureController extends ActionController { ); } else { $catDAO = new CategoryDAO (); - $this->view->categories = $catDAO->listCategories (); + $this->view->categories = $catDAO->listCategories (false); if (Request::isPost () && $this->view->flux) { $name = Request::param ('name', ''); -- cgit v1.2.3