bugfix: allow to select different "additional user profile field" when one has been selected before

skala
Patrick Cool 16 years ago
parent 5f0013d85c
commit 99a0572fb0
  1. 4
      main/tracking/courseLog.php

@ -821,7 +821,9 @@ function display_additional_profile_fields(){
// the form elements for the $_GET parameters (because the form is passed through GET
foreach ($_GET as $key=>$value){
$return .= '<input type="hidden" name="'.$key.'" value="'.Security::Remove_XSS($value).'" />';
if ($key <> 'additional_profile_field') {
$return .= '<input type="hidden" name="'.$key.'" value="'.Security::Remove_XSS($value).'" />';
}
}
// the submit button

Loading…
Cancel
Save