From fcc0e72868df960096f15b92dc8776af831f6af9 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Thu, 5 Sep 2024 17:35:00 -0400 Subject: [PATCH] Fix issue in PageFrontEdit when two different pages being saved at the same time --- wire/modules/Page/PageFrontEdit/PageFrontEdit.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/modules/Page/PageFrontEdit/PageFrontEdit.module b/wire/modules/Page/PageFrontEdit/PageFrontEdit.module index b4960724..8c6338f4 100644 --- a/wire/modules/Page/PageFrontEdit/PageFrontEdit.module +++ b/wire/modules/Page/PageFrontEdit/PageFrontEdit.module @@ -1256,7 +1256,7 @@ class PageFrontEdit extends WireData implements Module { if(count($changes)) { try { - $page->save(); + $pages->save($page, [ 'uncacheAll' => false ]); $data['status'] = count($errors) ? 2 : 1; } catch(\Exception $e) {