]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10364 initial calcualtion edit form
authorskodak <skodak>
Thu, 12 Jul 2007 20:12:07 +0000 (20:12 +0000)
committerskodak <skodak>
Thu, 12 Jul 2007 20:12:07 +0000 (20:12 +0000)
grade/edit/edit_calculation.php

index 70cf97213a63bb8dcb8c31bcfe48e4f4895c9b53..212216af661ea58c0e74d72279c00c90c21cec4e 100644 (file)
@@ -26,7 +26,7 @@ if (!$grade_item = grade_item::fetch(array('id'=>$id, 'courseid'=>$course->id)))
 // module items and items without grade can not have calculation
 if ($grade_item->is_normal_item() or ($grade_item->gradetype != GRADE_TYPE_VALUE and $grade_item->gradetype != GRADE_TYPE_SCALE)) {
     redirect($returnurl, get_string('erornocalculationallowed', 'grades')); //TODO: localize
-}
+} 
 
 $mform = new edit_calculation_form();