From f16734d160db22c12f259d3935c3b3fb1ae6e7e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Goetz?= Date: Thu, 23 Apr 2020 22:44:13 +0200 Subject: [PATCH] Fix Disabling Google analytics #194 --- libs/Format/HTML/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Format/HTML/Config.php b/libs/Format/HTML/Config.php index caf0e55..8a40d37 100644 --- a/libs/Format/HTML/Config.php +++ b/libs/Format/HTML/Config.php @@ -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()