From aeda2cec9bc94d530e7547d62b35ed0717463919 Mon Sep 17 00:00:00 2001 From: Ujjwal Ojha Date: Wed, 25 Dec 2013 02:11:15 -0800 Subject: [PATCH] Update InArray.php --- library/Zend/Validator/InArray.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Zend/Validator/InArray.php b/library/Zend/Validator/InArray.php index d4392e00191..2d3144ee417 100644 --- a/library/Zend/Validator/InArray.php +++ b/library/Zend/Validator/InArray.php @@ -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);