mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 06:25:33 +02:00
fixed missing global
This commit is contained in:
parent
b29ce44dde
commit
320ae23ac1
@ -1051,7 +1051,7 @@ class blog_filter_user extends blog_filter {
|
||||
* @param int $id
|
||||
*/
|
||||
public function __construct($id=null, $type='user') {
|
||||
global $CFG, $DB;
|
||||
global $CFG, $DB, $USER;
|
||||
$this->availabletypes = array('user' => get_string('user'), 'group' => get_string('group'));
|
||||
|
||||
if (empty($id)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user