Merge branch 'MDL-30880_feedback_property' of git://github.com/andyjdavis/moodle
This commit is contained in:
@@ -171,7 +171,7 @@ if ($mform->is_cancelled()) {
|
||||
// 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'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user