Commit 142841ae authored by Guy Thouret's avatar Guy Thouret

(fix) action property of analytics event is not always present

1 merge request!285Reward Factors for User Activity
Pipeline #84032526 passed with stages
in 10 minutes and 50 seconds
......@@ -79,7 +79,7 @@ class Event
];
/* Generate index for active days so we can use delete API in testing */
if ($this->data['action'] === 'active') {
if (isset($this->data['action']) && $this->data['action'] === 'active') {
$query['id'] = $this->getId();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment