Skip to content

Commit

Permalink
Merge branch 'w04_MDL-31176_m23_groupcontext' of git://github.com/sko…
Browse files Browse the repository at this point in the history
…dak/moodle
  • Loading branch information
stronk7 committed Jan 24, 2012
2 parents 9c69097 + 025d82e commit 72efa49
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 72efa49

Please sign in to comment.