MDL-29538 core_condition: Populating form with wrong value

This commit is contained in:
Mark Nelson
2012-06-26 15:18:54 +08:00
parent 94b94c38e7
commit be2534fd88
+1 -1
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++;
}