Browse Source

Merge branch 'hotfix/v8-4044_hotfix_statistics'

Olivier Massot 2 years ago
parent
commit
a3efbde578
1 changed files with 3 additions and 2 deletions
  1. 3 2
      ot_stats/Classes/Domain/Repository/MatomoWebsiteRepository.php

+ 3 - 2
ot_stats/Classes/Domain/Repository/MatomoWebsiteRepository.php

@@ -219,9 +219,10 @@ class MatomoWebsiteRepository
                     "INSERT INTO matomo.matomo_site
                           (`name`, main_url, ts_created, ecommerce, sitesearch, sitesearch_keyword_parameters, 
                            sitesearch_category_parameters, timezone, 
-                           currency, excluded_ips, excluded_parameters, excluded_user_agents, `group`, `type`, creator_login)
+                           currency, excluded_ips, excluded_parameters, excluded_user_agents, excluded_referrers,
+                           `group`, `type`, creator_login)
                           VALUES ('" . $title . "', '" . $uri . "', NOW(), 0, 1, '', '', 'Europe/Paris', 
-                                  'EUR', '" . $ignoreIps . "', '', '', '', 'website', 'typo3');");
+                                  'EUR', '" . $ignoreIps . "', '', '', '', '', 'website', 'typo3');");
                 $stmt->execute();
 
                 // Get the new site's id