Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.5
-
Component/s: Module: Scheduler
-
Labels:None
-
Environment:Ubuntu Server 8.04 LTS
-
Database:Any
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE, MOODLE_20_STABLE
Description
When the teacher cancels an appointment with a student, an e-mail is sent to the student.
This e-mail is sent to an incorrect e-mail address - i.e., it does not go to the student(s) associated with the slot, but to an entirely different student.
The reason is an incorrect use of the database fields "id" vs. "studentid" in the "mdl_scheduler_appointment" table, used in teacherview.controller.php. I attach a diff.