From 320ae23ac1e591f2ffe410928ff5db13a9c8ea78 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Fri, 17 Sep 2010 11:29:29 +0000 Subject: [PATCH] fixed missing global --- blog/locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/locallib.php b/blog/locallib.php index f604558d274..940b6e03b74 100644 --- a/blog/locallib.php +++ b/blog/locallib.php @@ -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)) {