diff options
| author | 2014-08-23 20:55:08 +0200 | |
|---|---|---|
| committer | 2014-08-23 20:55:08 +0200 | |
| commit | 17cf6fae6b7d5219f26341dc2829fe6f103e4aab (patch) | |
| tree | f3bef008a1befcd9c1a20562c99f30f5a9532c98 /app/Controllers/statsController.php | |
| parent | e3bb80de17c79cf32a2e3a606f216aebf48f92e5 (diff) | |
| parent | 3f0e9f70d244da84d917b3093665730ca245e483 (diff) | |
Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev
Diffstat (limited to 'app/Controllers/statsController.php')
| -rw-r--r-- | app/Controllers/statsController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controllers/statsController.php b/app/Controllers/statsController.php index 06a20c2a6..98f46f0d2 100644 --- a/app/Controllers/statsController.php +++ b/app/Controllers/statsController.php @@ -58,9 +58,11 @@ class FreshRSS_stats_Controller extends Minz_ActionController { public function repartitionAction() { $statsDAO = FreshRSS_Factory::createStatsDAO(); + $categoryDAO = new FreshRSS_CategoryDAO(); $feedDAO = FreshRSS_Factory::createFeedDao(); Minz_View::appendScript(Minz_Url::display('/scripts/flotr2.min.js?' . @filemtime(PUBLIC_PATH . '/scripts/flotr2.min.js'))); $id = Minz_Request::param ('id', null); + $this->view->categories = $categoryDAO->listCategories(); $this->view->feed = $feedDAO->searchById($id); $this->view->days = $statsDAO->getDays(); $this->view->months = $statsDAO->getMonths(); |
