From 1cd1252752c3036d1a93600aee6e40206f70f394 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 25 Jun 2006 10:16:45 +0000 Subject: [PATCH] Some minor changes in order to avoid some notices... --- grade/lib.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/grade/lib.php b/grade/lib.php index 13ef4a2030..f99521f7cb 100644 --- a/grade/lib.php +++ b/grade/lib.php @@ -1,10 +1,15 @@ dirroot.'/course/lib.php'); define('UNCATEGORISED', 'uncategorised'); +global $GRADEPREFS, $GRADEPREFSDEFAULTS; // This variables are going to be global... :-/ + $GRADEPREFS = array('use_advanced', // Only add new preferences to the end of this array! 'use_weighted_for_letter', // as the order counts and will affect backward compatibility 'display_weighted', -- 2.39.5