Permalink
Browse files

MDL-33581 missing parameter defaults for some external functions

  • Loading branch information...
1 parent a6dfc10 commit d9ecbdc7158cb042aeea62da6acf250bfccd4026 @mouneyrac mouneyrac committed Jun 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/externallib.php
View
@@ -52,7 +52,7 @@ public static function get_courses_parameters() {
* @param array $options
* @return array
*/
- public static function get_courses($options) {
+ public static function get_courses($options = array()) {
global $CFG, $DB;
require_once($CFG->dirroot . "/course/lib.php");

0 comments on commit d9ecbdc

Please sign in to comment.