From: nicolasconnault Date: Fri, 3 Aug 2007 07:18:15 +0000 (+0000) Subject: MDL-10702 Removed the false param from outcomeitem.php $mform->get_data(false) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=febf921c78e57c9a40855600e9fc1883b337677c;p=moodle.git MDL-10702 Removed the false param from outcomeitem.php $mform->get_data(false) --- diff --git a/grade/edit/tree/outcomeitem.php b/grade/edit/tree/outcomeitem.php index 8101f2e52f..4dc7bd3792 100644 --- a/grade/edit/tree/outcomeitem.php +++ b/grade/edit/tree/outcomeitem.php @@ -46,7 +46,7 @@ if ($item = get_record('grade_items', 'id', $id, 'courseid', $course->id)) { $mform->set_data($item); } -if ($data = $mform->get_data(false)) { +if ($data = $mform->get_data()) { if (array_key_exists('calculation', $data)) { $data->calculation = grade_item::normalize_formula($data->calculation, $course->id); }