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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user