Skip to content

Commit

Permalink
Merge pull request zendframework#5645 in master
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks3w committed Jan 2, 2014
2 parents 9ff4573 + d611090 commit ff532fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Validator/InArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function isValid($value)
// we type cast the input to a string
if (self::COMPARE_NOT_STRICT_AND_PREVENT_STR_TO_INT_VULNERABILITY == $this->strict
&& (is_int($value) || is_float($value))) {
$value =(string) $value;
$value = (string) $value;
}

$this->setValue($value);
Expand Down

0 comments on commit ff532fc

Please sign in to comment.