fix batch action setter

This commit is contained in:
Simon Vieille 2022-02-19 15:56:34 +01:00
parent 28f9a9f3f6
commit 202d2cf78c

View file

@ -127,7 +127,7 @@ class CrudConfiguration
public function setBatchAction(string $page, string $action, string $label, callable $callback): self
{
if (!isset($this->actions[$page])) {
if (!isset($this->batchActions[$page])) {
$this->batchActions[$page] = [];
}