Index: grade/edit/settings/index.php
===================================================================
RCS file: /cvsroot/moodle/moodle/grade/edit/settings/index.php,v
retrieving revision 1.3.2.2
diff -u -a -r1.3.2.2 index.php
--- grade/edit/settings/index.php	22 Apr 2009 08:20:31 -0000	1.3.2.2
+++ grade/edit/settings/index.php	28 May 2009 11:47:18 -0000
@@ -65,9 +65,6 @@
                                       and strpos($key, 'export_') !== 0) {
             continue;
         }
-        if ($value == -1) {
-            $value = null;
-        }
         grade_set_setting($course->id, $key, $value);
     }
 
