MDL-34285 condition: Fixed up missing operator

This commit is contained in:
Sam Hemelryk
2012-07-19 19:29:47 +12:00
parent 21a4e24cab
commit 1c8d09338e
+1 -2
View File
@@ -806,9 +806,8 @@ abstract class condition_info_base {
foreach ($this->item->conditionsfield as $field => $details) {
$a = new stdclass;
$a->field = $details->fieldname;
$a->operator = get_string($details->operator, 'condition');
$a->value = $details->value;
$information .= get_string('requires_user_field', 'condition', $a) . ' ';
$information .= get_string('requires_user_field_'.$details->operator, 'condition', $a) . ' ';
}
}