rating MDL-23805 added set_context() call
authorAndrew Davis <andrew@affinitysoftware.net>
Tue, 17 Aug 2010 03:43:13 +0000 (03:43 +0000)
committerAndrew Davis <andrew@affinitysoftware.net>
Tue, 17 Aug 2010 03:43:13 +0000 (03:43 +0000)
rating/index.php

index e3c41ba..68c1e69 100644 (file)
@@ -40,6 +40,8 @@ if ($sort !== 0) {
     $url->param('sort', $sort);
 }
 $PAGE->set_url($url);
+$PAGE->set_context($context);
+
 if ($popup) {
     $PAGE->set_pagelayout('popup');
 }