Skip to content

Commit

Permalink
Fixed issue #7322: Can't use negative values in assessment rules
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Mar 2, 2013
1 parent ccf0d7d commit 9e85ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/admin/assessments.php
Expand Up @@ -201,8 +201,8 @@ private function _getAssessmentPostData($iSurveyID, $language)
'sid' => $iSurveyID,
'scope' => sanitize_paranoid_string($_POST['scope']),
'gid' => sanitize_int($_POST['gid']),
'minimum' => sanitize_paranoid_string($_POST['minimum']),
'maximum' => sanitize_paranoid_string($_POST['maximum']),
'minimum' => intval($_POST['minimum']),
'maximum' => intval($_POST['maximum']),
'name' => $_POST['name_' . $language],
'language' => $language,
'message' => $_POST['assessmentmessage_' . $language]
Expand Down

0 comments on commit 9e85ac9

Please sign in to comment.