Skip to content

Commit

Permalink
Minor Bug Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwicommerce committed Aug 1, 2024
1 parent 81634ae commit 585ab61
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Model/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,10 +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());
if($this->eventConfig != null) {
$activity->setModule($this->helper->getActivityModuleName($this->eventConfig['module']));
$activity->setActionType($this->eventConfig['action']);
}
$activity->setModule($this->helper->getActivityModuleName($this->eventConfig['module'] ?? null));
$activity->setActionType($this->eventConfig['action'] ?? null);
$activity->setFullaction($this->escapeString($this->lastAction, '/'));
$activity->setStoreId(0);

Expand Down

0 comments on commit 585ab61

Please sign in to comment.