소스 검색

[GENERIC] Zend_Validate_Int:

- internal fix

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17115 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 년 전
부모
커밋
d9edfd962e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      library/Zend/Validate/Int.php

+ 1 - 1
library/Zend/Validate/Int.php

@@ -100,7 +100,7 @@ class Zend_Validate_Int extends Zend_Validate_Abstract
         $this->_setValue($value);
         if ($this->_locale === null) {
             $locale        = localeconv();
-            $valueFiltered = str_replace($locale['decimal_point'], '.', $valueString);
+            $valueFiltered = str_replace($locale['decimal_point'], '.', $value);
             $valueFiltered = str_replace($locale['thousands_sep'], '', $valueFiltered);
 
             if (strval(intval($valueFiltered)) != $valueFiltered) {