diff --git a/wire/modules/Process/ProcessPageList/ProcessPageListActions.php b/wire/modules/Process/ProcessPageList/ProcessPageListActions.php index 8602dfd6..687612f9 100644 --- a/wire/modules/Process/ProcessPageList/ProcessPageListActions.php +++ b/wire/modules/Process/ProcessPageList/ProcessPageListActions.php @@ -201,13 +201,14 @@ class ProcessPageListActions extends Wire { } $actions = $this->getExtraActions($page); + $success = false; + $message = ''; + $remove = false; + $refreshChildren = 0; if(isset($actions[$action]) && $page->editable()) { $success = true; $needSave = true; - $message = ''; - $remove = false; - $refreshChildren = 0; switch($action) { case 'pub':