diff options
| author | 2013-10-15 11:17:46 +0200 | |
|---|---|---|
| committer | 2013-10-15 11:17:46 +0200 | |
| commit | e52810415df05034486c4d813b6cdeb00b50091a (patch) | |
| tree | 00c808b43998a38d95da9f0a6ec4fc2713b760a6 /app/controllers/configureController.php | |
| parent | aa71754eeea171cbc37e49eee5eba0f2d4183693 (diff) | |
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
Diffstat (limited to 'app/controllers/configureController.php')
| -rwxr-xr-x | app/controllers/configureController.php | 6 |
1 files changed, 3 insertions, 3 deletions
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', ''); |
