Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2018-01-03 22:48:25 +0300
committerGitHub <noreply@github.com>2018-01-03 22:48:25 +0300
commit71f0ec8799865956b9cb37e6cd0df170d5556bda (patch)
tree22b12326b085d12188447b49263e913f3345fb77 /plugins/UserLanguage
parent3a0762589c4771fbd63e34bf57300e08320314b3 (diff)
Prevent possible error languageTranslateWithCode is not defined (#12398)
Prevents possible error: `Call to undefined function Piwik\\Plugins\\UserLanguage\\languageTranslateWithCode()`
Diffstat (limited to 'plugins/UserLanguage')
-rw-r--r--plugins/UserLanguage/Columns/Language.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/UserLanguage/Columns/Language.php b/plugins/UserLanguage/Columns/Language.php
index 6d6ab2861b..3fe5af66fd 100644
--- a/plugins/UserLanguage/Columns/Language.php
+++ b/plugins/UserLanguage/Columns/Language.php
@@ -15,6 +15,8 @@ use Piwik\Tracker\Action;
use Piwik\Tracker\Request;
use Piwik\Tracker\Visitor;
+require_once PIWIK_INCLUDE_PATH . '/plugins/UserLanguage/functions.php';
+
class Language extends VisitDimension
{
protected $columnName = 'location_browser_lang';