Details
Description
small typo in "page_generic_activity" class in "lib/pagelib.php" (around line 565).
----------------
change this:
----------------
$this->activityrecord = get_record($this->activityname, 'id', $this->id);
if(empty($this->courserecord))
----------------
to this:
----------------
$this->activityrecord = get_record($this->activityname, 'id', $this->id);
if(empty($this->activityrecord))
i.e. change "courserecord" to "activityrecord"