diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-11-18 07:02:19 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-11-18 07:02:19 +0400 |
commit | 9060f0180cb935efd1925942d3a8ce1cf309459a (patch) | |
tree | b474d8758f3b45063e4bd430f5daa028b369c879 /plugins/ImageGraph/Controller.php | |
parent | 4658d92891093982d979e7ec8343ee4ccc510a38 (diff) |
getting rid of the fetch parameter
Diffstat (limited to 'plugins/ImageGraph/Controller.php')
-rw-r--r-- | plugins/ImageGraph/Controller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ImageGraph/Controller.php b/plugins/ImageGraph/Controller.php index 52cd75d013..de7186d79d 100644 --- a/plugins/ImageGraph/Controller.php +++ b/plugins/ImageGraph/Controller.php @@ -40,7 +40,7 @@ class Controller extends \Piwik\Plugin\Controller } $view = new View('@ImageGraph/index'); $view->titleAndUrls = $plot; - echo $view->render(); + return $view->render(); } // Draw graphs for all sizes (DEBUG) @@ -73,6 +73,6 @@ class Controller extends \Piwik\Plugin\Controller array(800, 150), // landscape mode array(600, 300, $fontSize = 18, 300, 150), // iphone requires bigger font, then it will be scaled down by ios ); - echo $view->render(); + return $view->render(); } } |