mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
edit submission: redirect to recapitulatif instead of edit
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user