fix broken ChoiceQuestion

This commit is contained in:
Sebastiaan Stok 2015-07-14 11:47:38 +02:00
parent 095bfd61ca
commit 3fcf61e664

View File

@ -162,7 +162,7 @@ class ChoiceQuestion extends Question
throw new \InvalidArgumentException(sprintf($errorMessage, $value));
}
$multiselectChoices[] = $choices[(string) $result];
$multiselectChoices[] = (string) $result;
}
if ($multiselect) {