Permalink
Browse files

Also admin now sees only his or her own courses in the "My courses" b…

…lock. Fixes bug 526
  • Loading branch information...
1 parent 2ed07cc commit fad21b7c7b83a72ab35276af03b8f1c01b04c8b1 gustav_delius committed May 30, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks/course_list/block_course_list.php
@@ -32,7 +32,7 @@ function get_content() {
" height=\"16\" width=\"16\" alt=\"".get_string("course")."\">";
}
- if (isset($USER->id) and !isadmin()) { // Just print My Courses
+ if (isset($USER->id)) { // Just print My Courses
if ($courses = get_my_courses($USER->id)) {
foreach ($courses as $course) {
if (!$course->category) {

0 comments on commit fad21b7

Please sign in to comment.