Skip to content

Commit

Permalink
fixed missing global causing regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 17, 2010
1 parent fafa57e commit 2fb3434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/accesslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ function is_siteadmin($user_or_id = NULL) {
* @return unknown_type
*/
function has_coursecontact_role($userid) {
global $DB;
global $DB, $CFG;

if (empty($CFG->coursecontact)) {
return false;
Expand Down

0 comments on commit 2fb3434

Please sign in to comment.