MDL-58058 competency: Allow unspecified sortorder for new competencies

This commit is contained in:
Frederic Massart
2017-12-08 16:01:22 +08:00
committed by Simey Lameze
parent 1402bb28bc
commit a34f98e166
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class competency extends persistent {
'default' => FORMAT_HTML
),
'sortorder' => array(
'default' => null,
'default' => 0,
'type' => PARAM_INT
),
'parentid' => array(