Commit 1b2b3ad7 authored by Chenu Denis's avatar Chenu Denis

[fix] If export only code : some answer are not exported

parent fd7911bf
......@@ -157,7 +157,7 @@ class exportCompleteAnswersWriter extends CsvWriter {
else
{
$bExportAnswerCode=$this->exportAnswerCode && !self::sameTextAndCode($fieldType,$sColumn);
$bExportAnswerText=$this->exportAnswerText;
$bExportAnswerText=$this->exportAnswerText || self::sameTextAndCode($fieldType,$sColumn);
}
$sAnswerFull="";
$sAnswerText="";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment