lgfa29 / basiclti4moodle

Automatically exported from code.google.com/p/basiclti4moodle
0 stars 0 forks source link

Problem browsing basiclti module in a course #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when navigating any instance of basiclti module in a course 
2.
3.

What is the expected output? What do you see instead?
Course Module ID was incorrect: 

What version of the product are you using? On what operating system?
IMS-Basic-LTI-for-Moodle-2010-May-30.zip

Please provide any additional information below.
The error disappear when replace the next line in launch.php
---------------------------------------------------------
if ($id) {
    //CRIS, bug encontrado y arreglado 2010-07-14
        //if (! $cm = get_record("course_modules", "id", $id)) {
    if (! $cm = get_record("course_modules", "instance", $id)) {
            error("Course Module ID was incorrect: ".$id." cm: ".$cm);
        }
---------------------------------------------------------

Original issue reported on code.google.com by crisgc...@gmail.com on 5 Dec 2010 at 9:27

GoogleCodeExporter commented 9 years ago

Original comment by ngalanis@gmail.com on 6 Apr 2011 at 1:41