MDL-20296 undefined QTYPES

This commit is contained in:
Pierre Pichet
2010-05-21 08:11:06 +00:00
parent 8105328498
commit a3e153c2e9
@@ -547,6 +547,8 @@ class question_edit_calculatedsimple_form extends question_edit_form {
}
function set_data($question) {
global $QTYPES;
$answer = $this->answer;
$default_values = array();
if (count($answer)) {