Skip to content

Commit

Permalink
Fixed issue #16650: Timing not recorded when exporting results
Browse files Browse the repository at this point in the history
Made the response to be based on the queried response and not start from scratch. Timings are there initially. If starting from scratch, we loose them.
  • Loading branch information
gabrieljenik committed Sep 16, 2020
1 parent 7975bfe commit 6fa5df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/admin/export/Writer.php
Expand Up @@ -298,7 +298,7 @@ final public function write(SurveyObj $oSurvey, $sLanguageCode, FormattingOption
foreach ($oSurvey->responses as $response) {
// prepare the data for decryption
$sTokenTableName='tokens_'.$oSurvey->id;
$aResponse = array();
$aResponse = $response;
if (tableExists($sTokenTableName)) {
$oToken = Token::model($oSurvey->id);
$oToken->setAttributes($response, false);
Expand Down

0 comments on commit 6fa5df4

Please sign in to comment.