mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
#43595 - we should also check for existing classes and use include instead of include_once (of course)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9418 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1f5fd0b721
commit
607389caf0
@ -1143,7 +1143,10 @@ $db->sql_freeresult($result);
|
||||
// Load custom profile fields
|
||||
if ($config['load_cpf_viewtopic'])
|
||||
{
|
||||
include($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx);
|
||||
if (!class_exists('custom_profile'))
|
||||
{
|
||||
include($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx);
|
||||
}
|
||||
$cp = new custom_profile();
|
||||
|
||||
// Grab all profile fields from users in id cache for later use - similar to the poster cache
|
||||
|
Loading…
x
Reference in New Issue
Block a user