--- ./ldap_provisioning/ldapprov.module 2009-08-12 03:03:59.000000000 -0700 +++ /var/www/html/sites/all/modules/ldap_provisioning/ldapprov.module 2009-10-29 20:11:50.000000000 -0700 @@ -803,8 +803,8 @@ $last_name = $values[LDAPPROV_PROFILE_LAST]; } else if (module_exists('content_profile_registration') && LDAPPROV_CONTENT_PROFILE && LDAPPROV_CONTENT_PROFILE_FIRST != '' && LDAPPROV_CONTENT_PROFILE_LAST != '') { - $first_name = $values[LDAPPROV_CONTENT_PROFILE_FIRST]; - $last_name = $values[LDAPPROV_CONTENT_PROFILE_LAST]; + $first_name = $values[LDAPPROV_CONTENT_PROFILE_FIRST][0]['value']; + $last_name = $values[LDAPPROV_CONTENT_PROFILE_LAST][0]['value']; } else { $first_name = $values['first_name']; @@ -886,7 +886,8 @@ global $language; $time = time(); - $values = $form_state['values']; +// $values = $form_state['values']; + $values = $form['user_registration_help']['#post']; // Prepare data to enter into the database. $data = array('language' => $language->language);