diff --git a/src/Mouf/Utils/Patcher/Controllers/PatchController.php b/src/Mouf/Utils/Patcher/Controllers/PatchController.php index 86f338d..52f103b 100644 --- a/src/Mouf/Utils/Patcher/Controllers/PatchController.php +++ b/src/Mouf/Utils/Patcher/Controllers/PatchController.php @@ -172,12 +172,12 @@ public function applyAllPatches($name, array $types, $action, $selfedit) { 'skipped' => $skippedPatchArray ] = $patchService->applyAll($types); - } catch (\Exception $e) { + $this->displayNotificationMessage($appliedPatchArray, $skippedPatchArray); + } catch (\Exception $e) { $htmlMessage = "An error occured while applying the patch: ".$e->getMessage(); set_user_message($htmlMessage); } - $this->displayNotificationMessage($appliedPatchArray, $skippedPatchArray); header('Location: .?name='.urlencode($name)); }