Browse Source

[ZF-9601] Zend_Validate:

- OOP change

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21747 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 năm trước cách đây
mục cha
commit
4cf04de1db
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      library/Zend/Validate/Barcode.php

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

@@ -189,7 +189,7 @@ class Zend_Validate_Barcode extends Zend_Validate_Abstract
             return false;
         }
 
-        $this->_value  = (string) $value;
+        $this->_setValue($value);
         $adapter       = $this->getAdapter();
         $this->_length = $adapter->getLength();
         $result        = $adapter->checkLength($value);