Whoops, forgot to set the cache :-) MDL-8149

This commit is contained in:
moodler 2007-01-22 03:28:06 +00:00
parent 8e82745aed
commit 1cbf4fccc4

View file

@ -775,6 +775,10 @@ ORDER BY $sort");
} }
} }
if (!empty($USER->id) && ($USER->id == $userid)) {
$USER->mycourses = $mycourses;
}
return $mycourses; return $mycourses;
} }