mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-23927 ensure CFG in scope before using, credit goes to Myles Carrick
This commit is contained in:
parent
4153e01aeb
commit
c30bcaae3f
@ -7,7 +7,7 @@ if (!defined('MAX_BULK_USERS')) {
|
||||
}
|
||||
|
||||
function add_selection_all($ufiltering) {
|
||||
global $SESSION, $DB;
|
||||
global $SESSION, $DB, $CFG;
|
||||
|
||||
list($sqlwhere, $params) = $ufiltering->get_sql_filter("id<>:exguest AND deleted <> 1", array('exguest'=>$CFG->siteguest));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user