$courserecord = array(
'shortname' => $this->shortname,
'fullname' => $this->fullname,
- 'numsections' => self::$paramsections[$this->size]
+ 'numsections' => self::$paramsections[$this->size],
+ 'startdate' => usergetmidnight(time())
);
if (strlen($this->summary) > 0) {
$courserecord['summary'] = $this->summary;