summaryrefslogtreecommitdiff
path: root/modules/profile/profile.pages.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/profile.pages.inc')
-rw-r--r--modules/profile/profile.pages.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/profile.pages.inc b/modules/profile/profile.pages.inc
index cb60b5253..ef1392343 100644
--- a/modules/profile/profile.pages.inc
+++ b/modules/profile/profile.pages.inc
@@ -23,8 +23,8 @@ function profile_browse() {
}
// Do not allow browsing of private and hidden fields by non-admins.
if (!user_access('administer users') && ($field->visibility == PROFILE_PRIVATE || $field->visibility == PROFILE_HIDDEN)) {
- drupal_access_denied();
- return;
+ drupal_access_denied();
+ return;
}
// Compile a list of fields to show.