MDL-29538 core_condition: Populating form with wrong value

This commit is contained in:
Mark Nelson 2012-05-18 16:54:16 +08:00
parent 94b94c38e7
commit be2534fd88

View File

@ -174,7 +174,7 @@ class editsection_form extends moodleform {
$groupelements[1]->setValue(is_null($data->operator) ? '' :
$data->operator);
$groupelements[2]->setValue(is_null($data->value) ? '' :
$data->operator);
$data->value);
$num++;
}