Fix Disabling Google analytics #194

This commit is contained in:
Stéphane Goetz 2020-04-23 22:44:13 +02:00
parent 67d5e9a319
commit f16734d160

View File

@ -68,7 +68,7 @@ class Config extends BaseConfig
public function hasGoogleAnalytics()
{
return $this->hasValue('google_analytics');
return $this->hasValue('google_analytics') && $this->getValue('google_analytics');
}
public function getGoogleAnalyticsId()