Permalink
Browse files

Merge branch 'MDL-33932_22' of git://github.com/grabs/moodle into MOO…

…DLE_22_STABLE
  • Loading branch information...
2 parents 803122e + 90e0da6 commit 461499b836058b968db70e45ff713302dabb3d6b Sam Hemelryk committed Jul 2, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 mod/feedback/item/multichoice/lib.php
@@ -561,6 +561,9 @@ public function check_value($value, $item) {
public function create_value($data) {
$vallist = $data;
+ if (is_array($vallist)) {
+ $vallist = array_unique($vallist);
+ }
return trim($this->item_array_to_string($vallist));
}

0 comments on commit 461499b

Please sign in to comment.