Merge branch 'MDL-41075-master-3' of git://github.com/mouneyrac/moodle
authorMarina Glancy <marina@moodle.com>
Tue, 17 Dec 2013 00:23:43 +0000 (11:23 +1100)
committerMarina Glancy <marina@moodle.com>
Tue, 17 Dec 2013 00:23:43 +0000 (11:23 +1100)
user/index.php

index dc0984f..ba65cb8 100644 (file)
             unset($courselist[SITEID]);
             $courselist = array(SITEID => format_string($SITE->shortname, true, array('context' => $systemcontext))) + $courselist;
         }
-        $select = new single_select($popupurl, 'id', $courselist, $course->id, array(''=>'choosedots'), 'courseform');
+        $select = new single_select($popupurl, 'id', $courselist, $course->id, null, 'courseform');
         $select->set_label(get_string('mycourses'));
         $controlstable->data[0]->cells[] = $OUTPUT->render($select);
     }