diff --git a/CommandlogBundle/Command/ShowCommand.php b/CommandlogBundle/Command/ShowCommand.php index a966f8e..3d1e452 100644 --- a/CommandlogBundle/Command/ShowCommand.php +++ b/CommandlogBundle/Command/ShowCommand.php @@ -128,7 +128,7 @@ private function getEntityChangelog(string $entity, string $id, OutputInterface $replacements = [ ':entityId' => $id, ':entity' => $this->connection->quote($entity), - ':data' => '.*\,"arguments":\\[.*[\[,",\,]'. $id .'[\],",\,].*' + ':data' => '"arguments": *\\\\[.*[\\\\[," ]' . $id . '[\\\\]," ]' ]; $query = str_replace(