From 4f5dbd38fbd32b48a56e1a7cdc0afccfd462d14b Mon Sep 17 00:00:00 2001 From: Juan Leyva Date: Fri, 28 Jul 2017 14:02:26 +0200 Subject: [PATCH] MDL-59649 mod_data: Fix content exporter The content3 and content4 fields should be type PARAM_RAW --- mod/data/classes/external/content_exporter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/data/classes/external/content_exporter.php b/mod/data/classes/external/content_exporter.php index f7806eb36a5..3e41e9e6ce8 100644 --- a/mod/data/classes/external/content_exporter.php +++ b/mod/data/classes/external/content_exporter.php @@ -70,12 +70,12 @@ class content_exporter extends exporter { 'null' => NULL_ALLOWED, ), 'content3' => array( - 'type' => PARAM_BOOL, + 'type' => PARAM_RAW, 'description' => 'Contents.', 'null' => NULL_ALLOWED, ), 'content4' => array( - 'type' => PARAM_BOOL, + 'type' => PARAM_RAW, 'description' => 'Contents.', 'null' => NULL_ALLOWED, ),