diff --git a/src/core/Crud/CrudConfiguration.php b/src/core/Crud/CrudConfiguration.php index aec5d0f..d5039f5 100644 --- a/src/core/Crud/CrudConfiguration.php +++ b/src/core/Crud/CrudConfiguration.php @@ -142,7 +142,7 @@ class CrudConfiguration callable $callback ): self { - $this->setBatchAction($page, $action, $name); + $this->setBatchAction($page, $action, $label, $callback); $this->batchActions[$page][$action]['isGlobal'] = true; return $this;