From 7b7f45307a3107064fddf97335895626f6d86277 Mon Sep 17 00:00:00 2001 From: Juan Leyva Date: Fri, 15 Sep 2017 11:32:55 +0200 Subject: [PATCH] MDL-60141 auth_email: Fix sitepolicy field type in get_signup_settings --- auth/email/classes/external.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/email/classes/external.php b/auth/email/classes/external.php index d004ffbcc64..af78b201c7e 100644 --- a/auth/email/classes/external.php +++ b/auth/email/classes/external.php @@ -137,7 +137,7 @@ class auth_email_external extends external_api { new external_value(PARAM_NOTAGS, 'The order of the name fields') ), 'passwordpolicy' => new external_value(PARAM_RAW, 'Password policy', VALUE_OPTIONAL), - 'sitepolicy' => new external_value(PARAM_URL, 'Site policy url', VALUE_OPTIONAL), + 'sitepolicy' => new external_value(PARAM_RAW, 'Site policy', VALUE_OPTIONAL), 'defaultcity' => new external_value(PARAM_NOTAGS, 'Default city', VALUE_OPTIONAL), 'country' => new external_value(PARAM_ALPHA, 'Default country', VALUE_OPTIONAL), 'profilefields' => new external_multiple_structure(