diff options
author | robocoder <anthon.pang@gmail.com> | 2009-10-28 03:20:31 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-10-28 03:20:31 +0300 |
commit | fe297c983d9c6ad8ad76153b7cb1645358596260 (patch) | |
tree | 8e2fd9c57b2505d5838dc9b298b6dd2abb1fd213 /libs/Zend/Validate | |
parent | d8227caea5a0e90735864483e195665405615763 (diff) |
sync up with Zend Framework 1.9.5
git-svn-id: http://dev.piwik.org/svn/trunk@1545 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/Zend/Validate')
-rw-r--r-- | libs/Zend/Validate/Abstract.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/Zend/Validate/Abstract.php b/libs/Zend/Validate/Abstract.php index 68acf2e67b..3107360619 100644 --- a/libs/Zend/Validate/Abstract.php +++ b/libs/Zend/Validate/Abstract.php @@ -16,7 +16,7 @@ * @package Zend_Validate * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: Abstract.php 17846 2009-08-27 17:38:13Z thomas $ + * @version $Id: Abstract.php 18688 2009-10-25 16:08:24Z thomas $ */ /** @@ -251,11 +251,11 @@ abstract class Zend_Validate_Abstract implements Zend_Validate_Interface } /** - * @param string $messageKey + * @param string $messageKey OPTIONAL * @param string $value OPTIONAL * @return void */ - protected function _error($messageKey, $value = null) + protected function _error($messageKey = null, $value = null) { if ($messageKey === null) { $keys = array_keys($this->_messageTemplates); |