From 44d32873e476dd13277194ac34aa5f9ef2c101ae Mon Sep 17 00:00:00 2001 From: Carsten Schmitz Date: Wed, 17 Dec 2014 12:47:28 +0100 Subject: [PATCH] Fixed issue #9408: Excel statistics for question types "5 point array" and "5 point choice" show wrong aggregated percentage --- application/helpers/admin/statistics_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/helpers/admin/statistics_helper.php b/application/helpers/admin/statistics_helper.php index 263074f6b98..3cc6cafe73e 100644 --- a/application/helpers/admin/statistics_helper.php +++ b/application/helpers/admin/statistics_helper.php @@ -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;