Skip to content

Commit

Permalink
Fixed issue #8814: Multiple numeric input limit with big integer values
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Mar 19, 2014
1 parent 76a1b96 commit d52f024
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions application/helpers/admin/activate_helper.php
Expand Up @@ -284,7 +284,8 @@ function activateSurvey($iSurveyID, $simulate = false)
case "lastpage":
$createsurvey[$arow['fieldname']] = "integer";
break;
case "N": //NUMERICAL
case "N": //Numerical
case "K": //Multiple Numerical
$createsurvey[$arow['fieldname']] = "decimal (30,10)";
break;
case "S": //SHORT TEXT
Expand All @@ -305,9 +306,6 @@ function activateSurvey($iSurveyID, $simulate = false)
$createsurvey[$arow['fieldname']] = "text";
}
break;
case "K": // Multiple Numerical
$createsurvey[$arow['fieldname']] = "float";
break;
case "U": //Huge text
case "Q": //Multiple short text
case "T": //LONG TEXT
Expand Down

1 comment on commit d52f024

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And the array number ;)

Please sign in to comment.