From 601bb75d3c19c8a2a3f98e9c912507f82677f1e2 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 1 May 2009 10:10:35 +0000 Subject: [PATCH] Fix for #r9342 for bug #41385 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9504 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/docs/CHANGELOG.html | 2 +- phpBB/includes/functions_profile_fields.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 8210aac2dc..c741b2e3bb 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -104,7 +104,7 @@
  • [Fix] Various XHTML mistakes in prosilver, subsilver2 and the ACP. (Bugs #41745, #42265 - Patch by nickvergessen, #38465, #43015)
  • [Fix] Log password changes via password reset function. (Bug #41365)
  • [Fix] Poll, negative durations generate error (Bug #41295 - Patch by TerraFrost)
  • -
  • [Fix] Visibility of custom field on registration is incorrectly controlled by setting "display" (Bug #41385 - Patch by Eelke)
  • +
  • [Fix] Visibility of custom field on registration is incorrectly controlled by setting "display" (Bug #41385 - Patch by Eelke and fade2gray)
  • [Fix] Smilies in username are misparsed on [quote=""] (Bug #41955 - Patch by TerraFrost)
  • [Fix] Deleting all posts in a topic - bad redirect (Bug #41705 - Patch by TerraFrost)
  • [Fix] Deleted users still appear logged in (Bug #41985 - Patch by TerraFrost)
  • diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php index 60abe122ce..26a1feb126 100644 --- a/phpBB/includes/functions_profile_fields.php +++ b/phpBB/includes/functions_profile_fields.php @@ -270,8 +270,8 @@ class custom_profile switch ($mode) { case 'register': - // If the field is required we show it on the registration page and do not show hidden fields - $sql_where .= ' AND f.field_show_on_reg = 1 AND f.field_no_view = 0'; + // If the field is required we show it on the registration page + $sql_where .= ' AND f.field_show_on_reg = 1'; break; case 'profile':