aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_profile_fields.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-05-01 10:10:35 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-05-01 10:10:35 +0000
commit601bb75d3c19c8a2a3f98e9c912507f82677f1e2 (patch)
treee3c2ebe843fc6b4a7362d9d3df27e48c7e2adc41 /phpBB/includes/functions_profile_fields.php
parent864c63406078cc2b4a7ea2e256598c3c5a86f265 (diff)
downloadforums-601bb75d3c19c8a2a3f98e9c912507f82677f1e2.tar
forums-601bb75d3c19c8a2a3f98e9c912507f82677f1e2.tar.gz
forums-601bb75d3c19c8a2a3f98e9c912507f82677f1e2.tar.bz2
forums-601bb75d3c19c8a2a3f98e9c912507f82677f1e2.tar.xz
forums-601bb75d3c19c8a2a3f98e9c912507f82677f1e2.zip
Fix for #r9342 for bug #41385
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9504 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r--phpBB/includes/functions_profile_fields.php4
1 files changed, 2 insertions, 2 deletions
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':