From 7c6daae72ece0db7b2d18d35aef1b29d65826165 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 22 Dec 2021 16:54:50 +0000 Subject: [PATCH] wip #4978 @0.5 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index da68ae664..ff9fd3e0b 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -986,9 +986,9 @@ class wsHTML5Compiler global $core; if ($this->book->parametres->stats) { - $this->book->parametres->statsMatomo = wsStats::getMatomoAPI()->createSiteIfNotExistsOrReturnId('Fluidbook #' . $this->book_id, 'https://' . $this->book_id . '.fluidbook'); + $this->config->statsMatomo = wsStats::getMatomoAPI()->createSiteIfNotExistsOrReturnId('Fluidbook #' . $this->book_id, 'https://' . $this->book_id . '.fluidbook'); } else { - $this->book->parametres->statsMatomo = false; + $this->config->statsMatomo = false; } if ($this->book->parametres->tagcommander_id) { -- 2.39.5