MDL-65428 core_tag: fix callback param type
authorMarina Glancy <marina@moodle.com>
Fri, 26 Apr 2019 11:11:05 +0000 (13:11 +0200)
committerMarina Glancy <marina@moodle.com>
Fri, 26 Apr 2019 11:11:05 +0000 (13:11 +0200)
tag/classes/external/tag_area_exporter.php

index 20ec1e3..1cc74e1 100644 (file)
@@ -67,7 +67,7 @@ class tag_area_exporter extends exporter {
                 'description' => 'The tag collection this are belongs to.',
             ],
             'callback' => [
-                'type' => PARAM_ALPHANUMEXT,
+                'type' => PARAM_RAW,
                 'description' => 'Component callback for processing tags.',
                 'null' => NULL_ALLOWED,
             ],