From 6dac97c43e02e85423c777748ad85a4ecc9b0107 Mon Sep 17 00:00:00 2001 From: Romina Suarez Date: Mon, 11 Sep 2017 12:10:01 -0300 Subject: [PATCH] 2028 working with lat/lon. --- application/classes/Ushahidi/Formatter/Post/CSV.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/classes/Ushahidi/Formatter/Post/CSV.php b/application/classes/Ushahidi/Formatter/Post/CSV.php index 5b752f6a04..c35a0522d7 100644 --- a/application/classes/Ushahidi/Formatter/Post/CSV.php +++ b/application/classes/Ushahidi/Formatter/Post/CSV.php @@ -80,7 +80,7 @@ protected function generateCSVRecords($records) * we work with multiple posts which means our actual count($record[$key]) * value might not exist in all of the posts we are posting in the CSV */ - $setValue = isset($record['values'][$headingKey][0][$keySet[1]])? ($record['values'][$headingKey][$keySet[1]]): ''; + $setValue = isset($record['values'][$headingKey][$keySet[1]])? ($record['values'][$headingKey][$keySet[1]]): ''; } } else{ $setValue = $record['values'][$headingKey];