diff options
Diffstat (limited to 'core/ViewDataTable.php')
-rw-r--r-- | core/ViewDataTable.php | 5 |
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; + } } /** |