MDL-10818, forgot a global

This commit is contained in:
toyomoyo
2007-08-28 07:03:24 +00:00
parent 1f7790ffe5
commit 7efe75fcc4
+1 -1
View File
@@ -951,7 +951,7 @@ function print_log_ods($course, $user, $date, $order='l.time DESC', $modname,
function print_log_graph($course, $userid=0, $type="course.png", $date=0) {
global $CFG;
global $CFG, $USER;
if (empty($CFG->gdversion)) {
echo "(".get_string("gdneed").")";
} else {