Skip to content

Commit

Permalink
Fixed a notice on PHP 5
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Aug 7, 2004
1 parent 6527c07 commit 5132e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/participants/block_participants.php
Expand Up @@ -38,7 +38,7 @@ function get_content() {
}
}

if(!empty($USER)) {
if (!empty($USER->id)) {
$fullname = fullname($USER, true);
$editmyprofile = '<a title="'.$fullname.'" href="'.$CFG->wwwroot.'/user/edit.php?id='.$USER->id.'&amp;course='.$this->course->id.'">'.get_string('editmyprofile').'</a>';
if ($USER->description) {
Expand Down

0 comments on commit 5132e60

Please sign in to comment.