Skip to content

Commit

Permalink
profile block MDL-22480 fixed missing div
Browse files Browse the repository at this point in the history
  • Loading branch information
aparup committed May 19, 2010
1 parent 54f88b0 commit 7ae4a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/myprofile/block_myprofile.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function get_content() {

if (!isset($this->config->display_picture) || $this->config->display_picture == 1) {
$this->content->text .= '<div class="myprofileitem picture">';
$this->content->text = $OUTPUT->user_picture($user, array('courseid'=>$course->id, 'size'=>'100', 'class'=>'profilepicture')); // The new class makes CSS easier
$this->content->text .= $OUTPUT->user_picture($user, array('courseid'=>$course->id, 'size'=>'100', 'class'=>'profilepicture')); // The new class makes CSS easier
$this->content->text .= '</div>';
}

Expand Down

0 comments on commit 7ae4a74

Please sign in to comment.