Commit f63bb3a3 authored by Dries's avatar Dries

- Patch #38578 by Zen: field->id -> field->fid.

parent 58d9b02e
...@@ -201,7 +201,7 @@ function profile_browse() { ...@@ -201,7 +201,7 @@ function profile_browse() {
drupal_set_title($title); drupal_set_title($title);
return $output; return $output;
} }
else if ($name && !$field->id) { else if ($name && !$field->fid) {
drupal_not_found(); drupal_not_found();
} }
else { else {
......
...@@ -201,7 +201,7 @@ function profile_browse() { ...@@ -201,7 +201,7 @@ function profile_browse() {
drupal_set_title($title); drupal_set_title($title);
return $output; return $output;
} }
else if ($name && !$field->id) { else if ($name && !$field->fid) {
drupal_not_found(); drupal_not_found();
} }
else { else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment