]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6015 @0:05
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 23 Jun 2023 16:44:15 +0000 (18:44 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 23 Jun 2023 16:44:15 +0000 (18:44 +0200)
app/Fluidbook/Stats.php

index 37d6ff129a98aac968d46e065b6f7cda81a65fc1..ec4081fea6af20697e2aff25f3956cf4e9c77ebf 100644 (file)
@@ -518,6 +518,9 @@ class Stats extends Reporting
         $data = $this->apiCall('Events.getCategory', ['flat' => 1, 'expanded' => 1, 'secondaryDimension' => 'eventName']);
         foreach ($data as $day => $events) {
             foreach ($events as $event) {
+                if(!isset($event['Events_EventName'])){
+                    continue;
+                }
                 if (!isset($types[$event['Events_EventCategory']])) {
                     continue;
                 }