Index: profile.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/profile/profile.module,v
retrieving revision 1.176
diff -u -F^f -r1.176 profile.module
--- profile.module	22 Oct 2006 17:47:51 -0000	1.176
+++ profile.module	23 Oct 2006 07:41:44 -0000
@@ -629,9 +629,6 @@ function _profile_form_explanation($fiel
 
 function profile_form_profile($edit, $user, $category) {
   if (arg(0) == 'user' && arg(1) == 'register') {
-    $result = db_query('SELECT * FROM {profile_fields} WHERE visibility != %d AND register = 1 ORDER BY category, weight', PROFILE_HIDDEN);
-  }
-  elseif (arg(0) == 'admin' && arg(1) == 'user' && arg(2) == 'user' && arg(3) == 'create') {
     $result = db_query('SELECT * FROM {profile_fields} WHERE register = 1 ORDER BY category, weight');
   }
   elseif (user_access('administer users')) {
