Merge branch 'MDL-70863-311' of git://github.com/jleyva/moodle into MOODLE_311_STABLE

This commit is contained in:
Jun Pataleta
2021-04-29 15:04:32 +08:00
+10 -2
View File
@@ -105,8 +105,16 @@ class post extends exporter {
'default' => null,
'null' => NULL_ALLOWED
],
'timecreated' => ['type' => PARAM_INT],
'timemodified' => ['type' => PARAM_INT],
'timecreated' => [
'type' => PARAM_INT,
'default' => null,
'null' => NULL_ALLOWED
],
'timemodified' => [
'type' => PARAM_INT,
'default' => null,
'null' => NULL_ALLOWED
],
'unread' => [
'type' => PARAM_BOOL,
'optional' => true,