I believe the line in profile.php:
Code:
$profilepic['comment'] = fetch_censored_text($profilepic['comment']);
needs to be
Code:
if ($profilepic) {
$profilepic['comment'] = fetch_censored_text($profilepic['comment']);
}
Otherwise, a user who doesn't have a profile picture currently uploaded will get the "Your Current Profile Picture" fieldset in his/her Edit Profile Picture section.