diff options
Diffstat (limited to 'plugins/Overlay/Controller.php')
-rw-r--r-- | plugins/Overlay/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Overlay/Controller.php b/plugins/Overlay/Controller.php index ea540c6e14..7ddfde1e41 100644 --- a/plugins/Overlay/Controller.php +++ b/plugins/Overlay/Controller.php @@ -160,7 +160,7 @@ class Controller extends \Piwik\Plugin\Controller var urlToRedirect = window.location.hash.substr(1); var urlToRedirectWithoutPrefix = removeUrlPrefix(urlToRedirect); - var knownUrls = ' . Common::json_encode($urls) . '; + var knownUrls = ' . json_encode($urls) . '; for (var i = 0; i < knownUrls.length; i++) { var testUrl = removeUrlPrefix(knownUrls[i]); if (urlToRedirectWithoutPrefix.substr(0, testUrl.length) == testUrl) { |