Permalink
Browse files

Merge branch 'MDL-30880_feedback_property_21' of git://github.com/and…

…yjdavis/moodle into MOODLE_21_STABLE
  • Loading branch information...
2 parents 044c0ce + 043af1f commit 296d5c07d8d29ccdf9f39d8df043789c95a707fe @danpoltawski danpoltawski committed Jun 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/edit/tree/grade.php
@@ -163,7 +163,7 @@
// form processing
} 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->feedback = $data->feedback['text'];
}

0 comments on commit 296d5c0

Please sign in to comment.