From c6658396362f56e1f6605b032bbb7d12275e4749 Mon Sep 17 00:00:00 2001
From: Joas Schilling <nickvergessen@gmx.de>
Date: Fri, 10 Jan 2014 23:00:37 +0100
Subject: [ticket/11201] Remove global use from admin class

PHPBB3-11201
---
 phpBB/includes/acp/acp_profile.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'phpBB/includes')

diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php
index 510239a837..3c2e6448ce 100644
--- a/phpBB/includes/acp/acp_profile.php
+++ b/phpBB/includes/acp/acp_profile.php
@@ -849,7 +849,7 @@ class acp_profile
 
 						// Build options based on profile type
 						$function = 'get_' . $cp->profile_types[$field_type] . '_options';
-						$options = $cp->$function();
+						$options = $cp->$function($this->lang_defs);
 
 						foreach ($options as $num => $option_ary)
 						{
-- 
cgit v1.2.1