System Setting: Moodle 1.7.2
Here is what happen
[1] Feedback is created in Main Menu and mapped to course C1 and C2.
[2] Each course has the feedback block activiated.
[3] The Main Menu is set to hidden mode so that student cannot go to feedback using Main Menu
[4] Now, when a student from course C1 login and select course C1.
[5] Student click Feedback inside the feedback block in course C1.
[6] There is an error after step [5]. The error is 'Course Module ID was incorrect'
(Under the view.php ~ the courseid of C1 is 7 which is reflected correctly)
Was wondering what else is causing the problem. Is it the view.php statement problem on (! $cm = get_coursemodule_from_id('feedback', $id))
or the lib.php which is included inside the view.php.
Thanks in advance for any help posted in here.