From d08393fbe5f8ed593fff1e00528b9bf0356e7ed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Goetz?= Date: Fri, 7 Feb 2020 22:51:21 +0100 Subject: [PATCH] Fix piwik check --- 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 509bee7..559eaa6 100644 --- a/libs/Format/HTML/Config.php +++ b/libs/Format/HTML/Config.php @@ -78,7 +78,7 @@ class Config extends BaseConfig public function hasPiwikAnalytics() { - return $this->hasValue('piwik_analytics') && $this->hasValue('piwik_analytics_id'); + return $this->getValue('piwik_analytics') && $this->hasValue('piwik_analytics_id'); } public function getPiwikAnalyticsId()