Skip to content

Commit

Permalink
Fixed: Object ID processing in log
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Mar 30, 2024
1 parent 10cca64 commit 5e466a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ease/Brick.php
Expand Up @@ -116,7 +116,7 @@ public function setObjectName($objectName = '')
}
if ($key) {
$oldName = \Ease\Logger\Message::getCallerName($this);
$result = parent::setObjectName($key . '@' . substr($oldName, strpos($oldName, '@')+1));
$result = parent::setObjectName($key . '@' . substr($oldName,strpos($oldName,'@') ? strpos($oldName,'@')+1 : 0));
} else {
$result = parent::setObjectName();
}
Expand Down

0 comments on commit 5e466a1

Please sign in to comment.