From f0bc01f119478d9f59ff142a8e73f4f1a7415abb Mon Sep 17 00:00:00 2001 From: mfaber Date: Wed, 25 Sep 2013 22:33:28 +0200 Subject: [PATCH] Fixed issue #8183: (STATA) Wrong data type name Dev: in STATA the data type is called int, not integer --- application/core/plugins/ExportSTATAxml/STATAxmlWriter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/core/plugins/ExportSTATAxml/STATAxmlWriter.php b/application/core/plugins/ExportSTATAxml/STATAxmlWriter.php index 0383e6e157f..ca501b95e40 100644 --- a/application/core/plugins/ExportSTATAxml/STATAxmlWriter.php +++ b/application/core/plugins/ExportSTATAxml/STATAxmlWriter.php @@ -489,9 +489,9 @@ protected function updateCustomresponsemap() $typelist[$variable]['type'] = 'long'; $typelist[$variable]['format'] = '%10.0g'; } - elseif (in_array('integer', $responses, true)) + elseif (in_array('int', $responses, true)) { - $typelist[$variable]['type'] = 'integer'; + $typelist[$variable]['type'] = 'int'; $typelist[$variable]['format'] = '%10.0g'; } elseif (in_array('byte', $responses, true))