Permalink
Browse files

Merge branch 'w04_MDL-31176_m21_groupcontext' of git://github.com/sko…

…dak/moodle into MOODLE_21_STABLE
  • Loading branch information...
2 parents 5528fbe + 5b67cd5 commit d03f27f9f4df0b0673f4c49db1155727431c8539 @stronk7 stronk7 committed Jan 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 calendar/lib.php
View
@@ -1796,7 +1796,7 @@ public function __isset($key) {
* @return stdClass
*/
protected function calculate_context(stdClass $data) {
- global $USER;
+ global $USER, $DB;
$context = null;
if (isset($data->courseid) && $data->courseid > 0) {

0 comments on commit d03f27f

Please sign in to comment.