diff --git a/tag/classes/external.php b/tag/classes/external.php index 06b6c96e21b..23267605de7 100644 --- a/tag/classes/external.php +++ b/tag/classes/external.php @@ -242,7 +242,7 @@ class core_tag_external extends external_api { 'name' => new external_value(PARAM_TAG, 'name'), 'rawname' => new external_value(PARAM_RAW, 'tag raw name (may contain capital letters)'), 'description' => new external_value(PARAM_RAW, 'tag description'), - 'descriptionformat' => new external_format_value(PARAM_INT, VALUE_REQUIRED, 'tag description format'), + 'descriptionformat' => new external_format_value('description'), 'flag' => new external_value(PARAM_INT, 'flag', VALUE_OPTIONAL), 'official' => new external_value(PARAM_INT, 'whether this flag is standard (deprecated, use isstandard)', VALUE_OPTIONAL),