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:
Diffstat (limited to 'plugins/Goals/Controller.php')
-rw-r--r--plugins/Goals/Controller.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Goals/Controller.php b/plugins/Goals/Controller.php
index d24c42e7b2..16ad1f5358 100644
--- a/plugins/Goals/Controller.php
+++ b/plugins/Goals/Controller.php
@@ -236,10 +236,13 @@ class Controller extends \Piwik\Plugin\Controller
}
}
- if (!empty($idGoal) && isset($this->goals[$idGoal])) {
+ if (!empty($idGoal)
+ && isset($this->goals[$idGoal])
+ ) {
$goalName = $this->goals[$idGoal]['name'];
$columnTranslation = "$columnTranslation (" . $this->translator->translate('Goals_GoalX', "$goalName") . ")";
}
+
return $columnTranslation;
}