diff --git a/Model/Processor.php b/Model/Processor.php index 87967ed..44168e4 100644 --- a/Model/Processor.php +++ b/Model/Processor.php @@ -444,8 +444,8 @@ public function _initLog() $activity->setRemoteIp($this->remoteAddress->getRemoteAddress()); $activity->setForwardedIp($this->httpRequest->getServer('HTTP_X_FORWARDED_FOR')); $activity->setUserAgent($this->handler->header->getHttpUserAgent()); - $activity->setModule($this->helper->getActivityModuleName($this->eventConfig['module'] ?? null)); - $activity->setActionType($this->eventConfig['action'] ?? null); + $activity->setModule($this->helper->getActivityModuleName($this->eventConfig['module'] ?? '')); + $activity->setActionType($this->eventConfig['action'] ?? ''); $activity->setFullaction($this->escapeString($this->lastAction, '/')); $activity->setStoreId(0); diff --git a/composer.json b/composer.json index cf0fd04..59a8577 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "kiwicommerce/module-admin-activity", "description": "The Admin Activity extension makes it easy to track all admin activity and revert the modification.", "type": "magento2-module", - "version": "1.0.8", + "version": "1.0.9", "license": [ "OSL-3.0" ],