Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…dak/moodle into MOODLE_22_STABLE
  • Loading branch information...
commit ac2a99b1b8809061a0ee1d08981a3ee177c18bde 2 parents b7c8fb6 + ec6c7d9
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  calendar/lib.php
View
2  calendar/lib.php
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.