edit submission: redirect to recapitulatif instead of edit

This commit is contained in:
Pontoporeia
2026-05-19 20:53:07 +02:00
parent 4da317de0a
commit bcf3140aa2
2 changed files with 3 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ try {
AdminLogger::make()->logEdit($thesisId, $_POST['titre'] ?? $_POST['title'] ?? '');
App::flash('success', "TFE mis à jour avec succès!");
header('Location: ../edit.php?id=' . $thesisId);
header('Location: ../recapitulatif.php?id=' . $thesisId);
exit();
} catch (Exception $e) {
@@ -58,6 +58,6 @@ try {
App::flashAutofocus($autofocusField);
}
header('Location: ../edit.php?id=' . $thesisId);
header('Location: ../recapitulatif.php?id=' . $thesisId);
exit();
}