From: stronk7 Date: Sun, 25 Jun 2006 10:16:45 +0000 (+0000) Subject: Some minor changes in order to avoid some notices... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1cd1252752c3036d1a93600aee6e40206f70f394;p=moodle.git Some minor changes in order to avoid some notices... --- 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',