MDL-56358 tool_lp tool_cohortroles: allow null idnumber

This commit is contained in:
Dan Marsden 2016-10-28 11:55:15 +13:00
parent 577bd70d38
commit 97223bb356

View File

@ -50,7 +50,8 @@ class cohort_summary_exporter extends \core_competency\external\exporter {
),
'idnumber' => array(
'type' => PARAM_RAW, // ID numbers are plain text.
'default' => ''
'default' => '',
'null' => NULL_ALLOWED
),
'visible' => array(
'type' => PARAM_BOOL,