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 'core/ViewDataTable.php')
-rw-r--r--core/ViewDataTable.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/ViewDataTable.php b/core/ViewDataTable.php
index cc767a1337..e13f6b3d71 100644
--- a/core/ViewDataTable.php
+++ b/core/ViewDataTable.php
@@ -662,7 +662,10 @@ abstract class Piwik_ViewDataTable
*/
public function enableShowGoals()
{
- $this->viewProperties['show_goals'] = true;
+ if(Piwik_PluginsManager::getInstance()->isPluginActivated('Goals'))
+ {
+ $this->viewProperties['show_goals'] = true;
+ }
}
/**