Permalink
Browse files

Merge branch 'MDL-30961-22' of git://github.com/mouneyrac/moodle into…

… MOODLE_22_STABLE
  • Loading branch information...
2 parents 7c1b3e2 + 3fd3efa commit 59fef8ff26efe4f495d099f6da142c02f4abb163 Sam Hemelryk committed Dec 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/externallib.php
View
@@ -198,7 +198,7 @@ public static function get_course_contents_returns() {
array(
'id' => new external_value(PARAM_INT, 'activity id'),
'url' => new external_value(PARAM_URL, 'activity url', VALUE_OPTIONAL),
- 'name' => new external_value(PARAM_TEXT, 'activity module name'),
+ 'name' => new external_value(PARAM_RAW, 'activity module name'),
'description' => new external_value(PARAM_RAW, 'activity description', VALUE_OPTIONAL),
'visible' => new external_value(PARAM_INT, 'is the module visible', VALUE_OPTIONAL),
'modicon' => new external_value(PARAM_URL, 'activity icon url'),

0 comments on commit 59fef8f

Please sign in to comment.