Skip to content

Commit

Permalink
Merge pull request #130 from mfaber/stata_datatype205
Browse files Browse the repository at this point in the history
Fixed issue #8183: (STATA) Wrong data type name
  • Loading branch information
c-schmitz committed Sep 25, 2013
2 parents 9fba97a + f0bc01f commit afc4291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/core/plugins/ExportSTATAxml/STATAxmlWriter.php
Expand Up @@ -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))
Expand Down

0 comments on commit afc4291

Please sign in to comment.