MDL-33980 equella: course ID number should be being passed through, not the course...
authornread <nick@equella.com>
Mon, 25 Jun 2012 02:33:49 +0000 (12:33 +1000)
committernread <nick@equella.com>
Mon, 25 Jun 2012 02:33:49 +0000 (12:33 +1000)
repository/equella/lib.php

index 3665ef1..36a524b 100644 (file)
@@ -85,7 +85,7 @@ class repository_equella extends repository {
                 . '&returnprefix=tle'
                 . '&template=standard'
                 . '&token='.urlencode($this->getssotoken('write'))
-                . '&courseId='.urlencode($COURSE->id)
+                . '&courseId='.urlencode($COURSE->idnumber)
                 . '&courseCode='.urlencode($COURSE->shortname)
                 . '&action=searchThin'
                 . '&forcePost=true'