Commit 3af14630 authored by Nigel McNie's avatar Nigel McNie
Browse files

Correct the URL for the profileicon in the sidebar if the user doesn't have a profileicon set.

parent 9e612197
......@@ -1787,7 +1787,7 @@ function profile_sideblock() {
require_once('group.php');
$data = array(
'id' => $USER->get('id'),
'profileicon' => $USER->get('profileicon'),
'profileicon' => $USER->get('profileicon') ? $USER->get('profileicon') : 0,
);
$saveduser = $USER->get('parentuser');
if (!empty($saveduser) && $saveduser->name) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment