Suppressing a warning message that may occur on "legitime" situation.

skala
Ivan Tcholakov 15 years ago
parent 39510c0bd0
commit 054b15f40b
  1. 4
      main/survey/create_new_survey.php

@ -284,8 +284,8 @@ if ($form->validate()) {
// Displaying a feedback message
Display::display_confirmation_message($return['message'], false);
} else {
// Redirecting to the survey page (whilst showing the return message
header('location:survey.php?survey_id='.$return['id'].'&message='.$return['message']);
// Redirecting to the survey page (whilst showing the return message)
@header('location:survey.php?survey_id='.$return['id'].'&message='.$return['message']);
}
} else {
// Displaying the header

Loading…
Cancel
Save