summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/profile.module1
-rw-r--r--modules/profile/profile.module1
2 files changed, 2 insertions, 0 deletions
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();