Skip to content

Commit 2d37500

Browse files
authored
Merge pull request #3265 from mariopro/master
Fixes deprecated the get() Method according to what´s new since Symfony 7.4 - Request Class Improvements
2 parents acd1e99 + cbdb9f4 commit 2d37500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryDataTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ public function addColumn($name, $content, $order = false): static
809809
protected function searchPanesSearch(): void
810810
{
811811
/** @var string[] $columns */
812-
$columns = $this->request->get('searchPanes', []);
812+
$columns = (array) $this->request->searchPanes;
813813

814814
foreach ($columns as $column => $values) {
815815
if ($this->isBlacklisted($column)) {

0 commit comments

Comments
 (0)