Fixed Survey testsuite handling of Tagged question type

This commit is contained in:
Patrick Donelan 2009-06-03 07:16:14 +00:00
parent 5acade845a
commit 3ffb76ef7f

View file

@ -279,7 +279,7 @@ sub _test {
if (!defined $spec) {
$self->session->log->debug("Spec undefined, assuming that means ignore answer value");
}
elsif ( $questionType eq 'Text' || $questionType eq 'Number' || $questionType eq 'Slider' ) {
elsif ( $questionType eq 'Text' || $questionType eq 'Number' || $questionType eq 'Slider' || $questionType eq 'Tagged') {
# Assume spec is raw value to record in the single answer
$responses->{"$address->[0]-$address->[1]-0"} = $spec;
} elsif ( $questionType eq 'Year Month' ) {