From fd994359412b50d2f64fe7f8c1f1beba8802e04b Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Sat, 18 Mar 2006 01:38:29 +0000 Subject: #53628, postscriptum to Profile module: fapi conversion + minor fixes, patch by Zen --- modules/profile.module | 1 + modules/profile/profile.module | 1 + 2 files changed, 2 insertions(+) (limited to 'modules') diff --git a/modules/profile.module b/modules/profile.module index 48686441a..259836363 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 48686441a..259836363 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(); -- cgit v1.2.3