aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_profile_fields.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r--phpBB/includes/functions_profile_fields.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php
index c706508c52..be31d9f701 100644
--- a/phpBB/includes/functions_profile_fields.php
+++ b/phpBB/includes/functions_profile_fields.php
@@ -43,7 +43,7 @@ class custom_profile
function generate_profile_fields($mode, $lang_id, $cp_error)
{
- global $db, $template, $auth;
+ global $db, $template, $auth, $user;
$sql = "SELECT l.*, f.*
FROM phpbb_profile_lang l, phpbb_profile_fields f