diff options
Diffstat (limited to 'phpBB/includes/ucp/ucp_profile.php')
| -rw-r--r-- | phpBB/includes/ucp/ucp_profile.php | 11 | 
1 files changed, 9 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php index a36bf619f8..9a1284083f 100644 --- a/phpBB/includes/ucp/ucp_profile.php +++ b/phpBB/includes/ucp/ucp_profile.php @@ -469,8 +469,15 @@ class ucp_profile  					trigger_error('NO_AUTH_SIGNATURE');  				} -				include($phpbb_root_path . 'includes/functions_posting.' . $phpEx); -				include($phpbb_root_path . 'includes/functions_display.' . $phpEx); +				if (!function_exists('generate_smilies')) +				{ +					include($phpbb_root_path . 'includes/functions_posting.' . $phpEx); +				} + +				if (!function_exists('display_custom_bbcodes')) +				{ +					include($phpbb_root_path . 'includes/functions_display.' . $phpEx); +				}  				$preview	= $request->is_set_post('preview');  | 
