Skip to content

Commit

Permalink
MDL-15516 prevent access to profiles of deleted users; backported fro…
Browse files Browse the repository at this point in the history
…m HEAD
  • Loading branch information
skodak committed Jul 5, 2008
1 parent 4497e89 commit 04ea701
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions user/view.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@


if ($user->deleted) { if ($user->deleted) {
print_heading(get_string("userdeleted")); print_heading(get_string("userdeleted"));
print_footer($course);
die;
} }


/// Get the hidden field list /// Get the hidden field list
Expand Down

0 comments on commit 04ea701

Please sign in to comment.