]> git.mjollnir.org Git - moodle.git/commit
MDL19219 mnet, mitigate arrkey loss in transit
authorpeterbulmer <peterbulmer>
Mon, 18 May 2009 02:38:02 +0000 (02:38 +0000)
committerpeterbulmer <peterbulmer>
Mon, 18 May 2009 02:38:02 +0000 (02:38 +0000)
commitd3080510e40c95b817b615b748557e127f5ec2cc
tree8e5247f630db1bc8ddd4bf8dc7b492c99148ac27
parent2d09b482e6e8986a17eee1ba8ac5657d01733ecb
MDL19219 mnet, mitigate arrkey loss in transit

When usernames are numeric, they are lost in mnet transit when used as
keys in the array result of course_enrolments(). As the username is not
sent with the enrolment details, it was not previously recoverable.
This patch adds the information to the enrolment details,
(enrol/mnet/enrol.php), and adds support for recovering the username if
it was numeric (and hence lost) (admin/mnet/enr_course_enrol.php)
admin/mnet/enr_course_enrol.php
enrol/mnet/enrol.php