MDL-15056

Added missing global $DB
This commit is contained in:
thepurpleblob 2008-05-30 11:06:49 +00:00
parent 6a82584b15
commit 57443b9af4

View File

@ -3774,7 +3774,7 @@ function get_roles_used_in_context($context, $view = false) {
* @return string
*/
function get_user_roles_in_context($userid, $context, $view=true){
global $CFG, $USER;
global $CFG, $DB,$USER;
$rolestring = '';
$sql = "SELECT *