Skip to content

Commit

Permalink
phpstan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanda committed Nov 3, 2023
1 parent bc19f86 commit 9a74127
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 @@ -1277,7 +1277,7 @@ public function filterSucceeded(NetteForm $form): void
return;
}

$values = (array) $form->getUnsafeValues(null);
$values = (array) $form->getUntrustedValues(null);

if ($this->getPresenterInstance()->isAjax()) {
if (isset($form['group_action']['submit']) && $form['group_action']['submit']->isSubmittedBy()) {
Expand Down

0 comments on commit 9a74127

Please sign in to comment.