Skip to content

Commit

Permalink
commandlog/show command: fixed deep search regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
danigargar committed Feb 12, 2024
1 parent 61dab1b commit 6d262b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CommandlogBundle/Command/ShowCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6d262b3

Please sign in to comment.