diff --git a/locallib.php b/locallib.php index 81643f407e..80d57d3497 100644 --- a/locallib.php +++ b/locallib.php @@ -914,7 +914,7 @@ function attendance_construct_sessions_data_for_add($formdata, mod_attendance_st } } else { $sess = new stdClass(); - $sess->sessdate = $sessiondate; + $sess->sessdate = $sessiondate; $sess->duration = $duration; $sess->descriptionitemid = $formdata->sdescription['itemid']; $sess->description = $formdata->sdescription['text'];