Skip to content

Commit

Permalink
Merge branch 'w04_MDL-31176_m21_groupcontext' of git://github.com/sko…
Browse files Browse the repository at this point in the history
…dak/moodle into MOODLE_21_STABLE
  • Loading branch information
stronk7 committed Jan 24, 2012
2 parents 5528fbe + 5b67cd5 commit d03f27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d03f27f

Please sign in to comment.