|
@@ -56,7 +56,7 @@ |
|
|
block discarded – undo |
|
56
|
56
|
try { |
|
57
|
57
|
$request->save(); |
|
58
|
58
|
} |
|
59
|
|
- catch(OptimisticLockFailedException $ex){ |
|
|
59
|
+ catch(OptimisticLockFailedException $ex) { |
|
60
|
60
|
// Okay. Someone's edited this in the time between us loading this page and doing the checks, and us getting |
|
61
|
61
|
// to saving the page. We *do not* want to show an optimistic lock failure, the most likely problem is they |
|
62
|
62
|
// double-loaded this page (see #255). Let's confirm this, and bomb out with a success message if it's the |
Please login to merge, or discard this patch.