]> git.mjollnir.org Git - moodle.git/commit
accesslib: get_user_courses_bycap() fix bug introduced by refactor
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:11:04 +0000 (07:11 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:11:04 +0000 (07:11 +0000)
commit2123166d62d2cc9e85c316d3cd804a79a55758c1
tree3e368e436d2f5be08d00ac4f35987a3955f9a849
parente6560e39d712d7e7882284ff280f7b9a80cfe49d
accesslib: get_user_courses_bycap() fix bug introduced by refactor

The refactor that created make_context_subobj() triggered a bug.
Smack in the hand to the sloppy programmer using variables outside
of the context they were meant to be used in!
lib/accesslib.php