Explorar el Código

Fix issue #189: disparition de catégories

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
Marien Fressinaud hace 12 años
padre
commit
e52810415d
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      app/controllers/configureController.php

+ 3 - 3
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', '');