Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…DLE_20_STABLE
  • Loading branch information...
commit ba22fd2f1b89afb50ab47d5417a3cf2f8a12851f 2 parents b7ab2a3 + 4e5c38b
@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
@@ -491,6 +491,9 @@ function check_value($value, $item) {
function create_value($data) {
$vallist = $data;
+ if (is_array($vallist)) {
+ $vallist = array_unique($vallist);
+ }
return trim($this->item_arrayToString($vallist));
}
Please sign in to comment.
Something went wrong with that request. Please try again.