"MDL-22112, quick fix for missing $PAGE->context"

This commit is contained in:
Dongsheng Cai
2010-05-03 08:21:25 +00:00
parent 51f93f4a1c
commit 5f271bd9c8
+1
View File
@@ -69,6 +69,7 @@ if ($id) {
if (!$wiki = wiki_get_wiki($cm->instance)) {
print_error('incorrectwikiid', 'wiki');
}
$PAGE->set_cm($cm);
// Getting the subwiki corresponding to that wiki, group and user.
//