Skip to content

Commit

Permalink
fix: getUnsafeValues() to suppress warning [ref nextras#73]
Browse files Browse the repository at this point in the history
  • Loading branch information
Miloslav Hůla committed Oct 5, 2021
1 parent b948a5a commit 41ac743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Datagrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ public function processForm(UI\Form $form)

if (isset($form['filter'])) {
if ($form['filter']['filter']->isSubmittedBy()) {
$values = $form['filter']->getValues(true);
$values = $form['filter']->getUnsafeValues('array');
unset($values['filter']);
$values = $this->filterFormFilter($values);
if ($this->paginator) {
Expand Down

0 comments on commit 41ac743

Please sign in to comment.