-
Bug
-
Resolution: Fixed
-
Blocker
-
3.0.3
-
None
-
PHP Environment:
Database:
To reproduce this error:
First create a group with a group avatar.
Insert your user into the group leadership.
Switch to the
UCP --> Usergroups --> Manage usergroups -->
Select the new group and click on "edit" or "Manage users".
Result:
Fatal error: Call to undefined function get_user_avatar() in /xxx/includes/ucp/ucp_groups.php on line 441
|
Possible fix:
OPEN includes/ucp/ucp_groups.php
FIND:
$group_name = $group_row['group_name'];
|
$group_type = $group_row['group_type'];
|
BEFORE ADD:
include_once($phpbb_root_path . 'includes/functions_display.' . $phpEx);
|
FIND:
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
|
REPLACE WITH:
include_once($phpbb_root_path . 'includes/functions_display.' . $phpEx);
|