]> _ Git - cubeextranet.git/commitdiff
wip #4978 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 22 Dec 2021 16:54:50 +0000 (16:54 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 22 Dec 2021 16:54:50 +0000 (16:54 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index da68ae6640656556b26ca1ea98e835557c32857b..ff9fd3e0b449ce17459747c601e1c71c217b77a9 100644 (file)
@@ -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) {