diff options
Diffstat (limited to 'plugins/Widgetize/Controller.php')
-rw-r--r-- | plugins/Widgetize/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Widgetize/Controller.php b/plugins/Widgetize/Controller.php index 043ff8134d..5b1d31b586 100644 --- a/plugins/Widgetize/Controller.php +++ b/plugins/Widgetize/Controller.php @@ -22,7 +22,7 @@ class Controller extends \Piwik\Plugin\Controller public function index() { $view = new View('@Widgetize/index'); - $view->availableWidgets = Common::json_encode(WidgetsList::get()); + $view->availableWidgets = json_encode(WidgetsList::get()); $this->setGeneralVariablesView($view); return $view->render(); } |