Skip to content

Commit 421211d

Browse files
authored
[11.x] Fix exception page not preparing SQL bindings (#56651)
fix #56639 Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent c1f194c commit 421211d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Exceptions/Renderer/Listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function onQueryExecuted(QueryExecuted $event)
6767
'connectionName' => $event->connectionName,
6868
'time' => $event->time,
6969
'sql' => $event->sql,
70-
'bindings' => $event->bindings,
70+
'bindings' => $event->connection->prepareBindings($event->bindings),
7171
];
7272
}
7373
}

0 commit comments

Comments
 (0)