]> git.mjollnir.org Git - moodle.git/commit
course/lib: print_course() fix bug when $course->managers was not set
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:52:27 +0000 (07:52 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:52:27 +0000 (07:52 +0000)
commit6b4d8c4d587c8d7f65970c9df19150da5b6fe1f8
tree426ceff25bafb6ef8009ad95861b8b4bffa3c086
parentc7a8ec8cf0ba78ad8e1d63a7b1db5cc06cd6c83a
course/lib: print_course() fix bug when $course->managers was not set

Fix a thinko in a variable assignment that prevented us from grabbing
the correct roles as managers. Addresses Yu's report at
MDL-11182 admin shows up as teacher.
course/lib.php