From 202d2cf78c51e2902596428dd3c90e126d31c883 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 19 Feb 2022 15:56:34 +0100 Subject: [PATCH] fix batch action setter --- core/Crud/CrudConfiguration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Crud/CrudConfiguration.php b/core/Crud/CrudConfiguration.php index 3a9935b..bfe9121 100644 --- a/core/Crud/CrudConfiguration.php +++ b/core/Crud/CrudConfiguration.php @@ -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] = []; }