From dfed802fc7744c1a30a02288c0d81277e8f89ec9 Mon Sep 17 00:00:00 2001 From: Dani Garcia Date: Mon, 12 Feb 2024 16:16:32 +0100 Subject: [PATCH] commandlog/show command: fixed deep search regexp --- CommandlogBundle/Command/ShowCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommandlogBundle/Command/ShowCommand.php b/CommandlogBundle/Command/ShowCommand.php index d1bcecd..435868d 100644 --- a/CommandlogBundle/Command/ShowCommand.php +++ b/CommandlogBundle/Command/ShowCommand.php @@ -141,7 +141,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(