Skip to content

Commit

Permalink
Added unset for $_GET['id'] and $_POST['id'] (#3122)
Browse files Browse the repository at this point in the history
Fixes #3119
  • Loading branch information
tomolimo authored and trasher committed Nov 9, 2017
1 parent 0254a61 commit 92f9835
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions front/ticket.form.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@
} else {
Html::header(__('New ticket'),'',"helpdesk","ticket");
unset($_REQUEST['id']);
unset($_GET['id']);
unset($_POST['id']);

// alternative email must be empty for create ticket
unset($_REQUEST['_users_id_requester_notif']['alternative_email']);
unset($_REQUEST['_users_id_observer_notif']['alternative_email']);
Expand Down

0 comments on commit 92f9835

Please sign in to comment.