Skip to content

Commit

Permalink
Fixed issue #9408: Excel statistics for question types "5 point array…
Browse files Browse the repository at this point in the history
…" and "5 point choice" show wrong aggregated percentage
  • Loading branch information
c-schmitz committed Dec 17, 2014
1 parent a48b828 commit 44d3287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/admin/statistics_helper.php
Expand Up @@ -2364,7 +2364,7 @@ protected function displayResults($outputs, $results, $rt, $outputType, $surveyi
$this->sheet->writeNumber($this->xlsRow,1,$grawdata[$i]);
$this->sheet->writeNumber($this->xlsRow,2,$percentage/100, $this->xlsPercents);
if ($aggregatedPercentage !== 'na') {
$this->sheet->writeNumber($this->xlsRow,3,$percentage/100, $this->xlsPercents);
$this->sheet->writeNumber($this->xlsRow,3,$aggregatedPercentage/100, $this->xlsPercents);
}
break;

Expand Down

0 comments on commit 44d3287

Please sign in to comment.