Fixed a typo

This commit is contained in:
moodler
2006-08-14 06:22:29 +00:00
parent f2e21e6c03
commit 65f4d137a7
+1 -1
View File
@@ -867,7 +867,7 @@ function get_context_instance_by_id($id) {
}
if ($context = get_record('context', 'id', $id)) { // Update the cache and return
$context_cache[$context->level][$context->instance] = $context;
$context_cache[$context->level][$context->instanceid] = $context;
$context_cache_id[$context->id] = $context;
return $context;
}