Skip to content
Browse files

MDL-34285 condition: Fixed up missing operator

  • Loading branch information...
1 parent 21a4e24 commit 1c8d09338e7d1d9295fdeb1d42b59db79b449df4 Sam Hemelryk committed Jul 19, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/conditionlib.php
View
3 lib/conditionlib.php
@@ -806,9 +806,8 @@ public function get_full_information($modinfo=null) {
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) . ' ';
}
}

0 comments on commit 1c8d093

Please sign in to comment.
Something went wrong with that request. Please try again.