Skip to content

Commit

Permalink
Merge branch 'MDL-30880_feedback_property_21' of git://github.com/and…
Browse files Browse the repository at this point in the history
…yjdavis/moodle into MOODLE_21_STABLE
  • Loading branch information
danpoltawski committed Jun 5, 2012
2 parents 044c0ce + 043af1f commit 296d5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/edit/tree/grade.php
Expand Up @@ -163,7 +163,7 @@
// form processing // form processing
} else if ($data = $mform->get_data(false)) { } else if ($data = $mform->get_data(false)) {


if (is_array($data->feedback)) { if (isset($data->feedback) && is_array($data->feedback)) {
$data->feedbackformat = $data->feedback['format']; $data->feedbackformat = $data->feedback['format'];
$data->feedback = $data->feedback['text']; $data->feedback = $data->feedback['text'];
} }
Expand Down

0 comments on commit 296d5c0

Please sign in to comment.