Skip to content

Commit

Permalink
Fix: display a wrong name for cron job in the statistics widget
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsykun committed Mar 16, 2019
1 parent 9bd1e9e commit 9e54908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Matcher/CronMessageInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getMarker(MessageInterface $message): string
{
$marker = $this->wrapped->getMarker($message);

if ('oro_cron.async.command_runner_processor' == $marker) {
if ('oro_cron.async.command_runner_processor' === $marker || 'oro_cron.async.command_runner_message_processor' === $marker) {
$body = $message->getBody();
$body = json_decode($body, true);

Expand Down

0 comments on commit 9e54908

Please sign in to comment.