diff options
author | robocoder <anthon.pang@gmail.com> | 2009-12-13 06:16:16 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-12-13 06:16:16 +0300 |
commit | cb820012780cea104076670b85b34d0978ec63be (patch) | |
tree | 0fe3f3d2c89475dd046d73a33c217634dd30d86e /plugins/Live/Controller.php | |
parent | aec28f94c6bb3a212e236598684e40b859a48ae2 (diff) |
fixes #1074 - missing parameters for module=Live&action=index
git-svn-id: http://dev.piwik.org/svn/trunk@1672 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Live/Controller.php')
-rw-r--r-- | plugins/Live/Controller.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/Live/Controller.php b/plugins/Live/Controller.php index a58cf3f7a3..76800e6f74 100644 --- a/plugins/Live/Controller.php +++ b/plugins/Live/Controller.php @@ -26,11 +26,7 @@ class Piwik_Live_Controller extends Piwik_Controller function index() { - $view = Piwik_View::factory('index'); - $this->setGeneralVariablesView($view); - $view->visitors = $this->getLastVisitsStart(true); - - echo $view->render(); + $this->widget(true); } public function widget($fetch = false) |