Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…DLE_22_STABLE
  • Loading branch information...
commit 461499b836058b968db70e45ff713302dabb3d6b 2 parents 803122e + 90e0da6
@samhemelryk samhemelryk authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  mod/feedback/item/multichoice/lib.php
View
3  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));
}
Please sign in to comment.
Something went wrong with that request. Please try again.