]> git.mjollnir.org Git - moodle.git/commit
accesslib: get_user_courses_bycap() fix to deal with empty $order
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:29:43 +0000 (07:29 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:29:43 +0000 (07:29 +0000)
commitd4bec858293fd0643f4b7e85c2a57f8d4a847114
treeba4a580a5d34d74c835c87490f5a1abecbe569d4
parent1e460fdfc2973ffe301388647de8e0f8afe7a36f
accesslib: get_user_courses_bycap() fix to deal with empty $order

If we are passed an empty string for $order, still create valid
SQL. Some callers in 1.9 seem to not care about order, passing
an explicit ''. Shocking! ;-)
lib/accesslib.php