Przeglądaj źródła

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 12 lat temu
rodzic
commit
e52810415d
1 zmienionych plików z 3 dodań i 3 usunięć
  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', '');