From acc7ca2d91ab2760dc032f6ab897046c467dffee Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 5 Jul 2024 15:49:14 -0400 Subject: [PATCH] Minor fix to PagesEditor::saveStatus() method --- wire/core/PagesEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/core/PagesEditor.php b/wire/core/PagesEditor.php index ca5ce589..67ac4194 100644 --- a/wire/core/PagesEditor.php +++ b/wire/core/PagesEditor.php @@ -984,7 +984,7 @@ class PagesEditor extends Wire { * */ public function saveStatus(Page $page) { - return $this->savePageStatus($page, $page->status) > 0; + return $this->savePageStatus($page, $page->status, false, 2) > 0; } /**