fixed missing global
authorPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 12:16:02 +0000 (12:16 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 12:16:02 +0000 (12:16 +0000)
mod/chat/mod_form.php

index 2176257..8602539 100644 (file)
@@ -8,6 +8,8 @@ require_once ($CFG->dirroot.'/course/moodleform_mod.php');
 class mod_chat_mod_form extends moodleform_mod {
 
     function definition() {
+        global $CFG;
+
         $mform = $this->_form;
 
 //-------------------------------------------------------------------------------