diff --git a/modules/profile.module b/modules/profile.module index 48686441a3db206c032c607d5c30d3bb486c26bb..2598363634fe3d4cf8ee47e3a8273a2c6dd97036 100644 --- a/modules/profile.module +++ b/modules/profile.module @@ -186,6 +186,7 @@ function profile_field_form($arg = NULL) { $form['fid'] = array('#type' => 'value', '#value' => $fid, ); + $type = $edit['type']; } else { drupal_not_found(); diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 48686441a3db206c032c607d5c30d3bb486c26bb..2598363634fe3d4cf8ee47e3a8273a2c6dd97036 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -186,6 +186,7 @@ function profile_field_form($arg = NULL) { $form['fid'] = array('#type' => 'value', '#value' => $fid, ); + $type = $edit['type']; } else { drupal_not_found();