1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-07 15:26:54 +02:00

Fix issue in PageFrontEdit when two different pages being saved at the same time

This commit is contained in:
Ryan Cramer
2024-09-05 17:35:00 -04:00
parent 842eca45b9
commit fcc0e72868

View File

@@ -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) {