mirror of
https://github.com/processwire/processwire.git
synced 2025-08-18 20:41:16 +02:00
Fix issue processwire/processwire-issues#47
This commit is contained in:
@@ -201,13 +201,14 @@ class ProcessPageListActions extends Wire {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$actions = $this->getExtraActions($page);
|
$actions = $this->getExtraActions($page);
|
||||||
|
$success = false;
|
||||||
|
$message = '';
|
||||||
|
$remove = false;
|
||||||
|
$refreshChildren = 0;
|
||||||
|
|
||||||
if(isset($actions[$action]) && $page->editable()) {
|
if(isset($actions[$action]) && $page->editable()) {
|
||||||
$success = true;
|
$success = true;
|
||||||
$needSave = true;
|
$needSave = true;
|
||||||
$message = '';
|
|
||||||
$remove = false;
|
|
||||||
$refreshChildren = 0;
|
|
||||||
|
|
||||||
switch($action) {
|
switch($action) {
|
||||||
case 'pub':
|
case 'pub':
|
||||||
|
Reference in New Issue
Block a user