Removing var_dump doh

skala
Julio Montoya 12 years ago
parent f0e5442307
commit ca7f1043a7
  1. 15
      main/auth/inscription.php

@ -480,8 +480,7 @@ if ($form->validate()) {
}
$course_code_redirect = Session::read('course_redirect');
var_dump($course_code_redirect);
if (!empty($course_code_redirect)) {
$course_info = api_get_course_info($course_code_redirect);
if (!empty($course_info)) {
@ -506,16 +505,12 @@ if ($form->validate()) {
}
}
$form_register = new FormValidator('form_register', 'post', $form_data['action']);
$form_register = new FormValidator('form_register', 'post', $form_data['action']);
if (!empty($form_data['message'])) {
$form_register->addElement('html', $form_data['message'].'<br />');
}
$form_register->addElement('html', $form_data['button']);
$display_text .= $form_register->return_form();
}
$form_register->addElement('html', $form_data['button']);
$display_text .= $form_register->return_form();
//Just in case
Session::erase('course_redirect');

Loading…
Cancel
Save