diff --git a/main/exercice/hotpotatoes_exercise_report.php b/main/exercice/hotpotatoes_exercise_report.php index ef89b7a6d5..72d7bce54c 100644 --- a/main/exercice/hotpotatoes_exercise_report.php +++ b/main/exercice/hotpotatoes_exercise_report.php @@ -102,6 +102,9 @@ if ($is_allowedToEdit) { $fileToDelete = isset($_GET['id']) ? $_GET['id'] : null; deleteAttempt($fileToDelete); Session::write('message', Display::return_message(get_lang('ItemDeleted'))); + $url = api_get_self().'?'.api_get_cidreq().'&path='.$hotpotatoes_path; + header("Location: $url"); + exit; break; } @@ -338,7 +341,8 @@ $(function() {