Permalink
Browse files

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

…yjdavis/moodle into MOODLE_22_STABLE
  • Loading branch information...
2 parents dd428d8 + d09e2a3 commit 5fd1ca61b8b754e94f555cf60fce3d57a11161e8 @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 5fd1ca6

Please sign in to comment.