]> git.mjollnir.org Git - moodle.git/commitdiff
fixe missing global CFG
authorskodak <skodak>
Thu, 11 Jan 2007 17:14:24 +0000 (17:14 +0000)
committerskodak <skodak>
Thu, 11 Jan 2007 17:14:24 +0000 (17:14 +0000)
mod/assignment/lib.php

index 1426f8913a502175b37bf328ec627a8f5542b652..df53f36252fe123b5a2c03dd5d5d4ec313e8dbc5 100644 (file)
@@ -2486,6 +2486,7 @@ function assignment_get_post_actions() {
 }
 
 function assignment_get_types() {
+    global $CFG;
     $types = array();
 
     $type = new object();