cvs: pear-core(PEAR_1_4) /PEAR Validate.php
| From: | Pierre-Alain Joye | Date: | Mon, 17 Jul 2006 17:49:37 +0000 |
| Subject: | cvs: pear-core(PEAR_1_4) /PEAR Validate.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4866@lists.php.net to get a copy of this message | ||
pajoye Mon Jul 17 17:49:37 2006 UTC
Modified files: (Branch: PEAR_1_4)
/pear-core/PEAR Validate.php
Log:
- revert, it must be an error here, sorry mike :)
http://cvs.php.net/viewvc.cgi/pear-core/PEAR/Validate.php?r1=1.46.2.2&r2=1.46.2.3&diff_format=u
Index: pear-core/PEAR/Validate.php
diff -u pear-core/PEAR/Validate.php:1.46.2.2 pear-core/PEAR/Validate.php:1.46.2.3
--- pear-core/PEAR/Validate.php:1.46.2.2 Mon Jul 17 17:34:53 2006
+++ pear-core/PEAR/Validate.php Mon Jul 17 17:49:37 2006
@@ -15,7 +15,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2006 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Validate.php,v 1.46.2.2 2006/07/17 17:34:53 pajoye Exp $
+ * @version CVS: $Id: Validate.php,v 1.46.2.3 2006/07/17 17:49:37 pajoye Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 1.4.0a1
*/
@@ -450,7 +450,7 @@
count($res) < 4
|| !checkdate($res[2], $res[3], $res[1])
) {
- $this->_addWarning('date', 'invalid release date "' .
+ $this->_addFailure('date', 'invalid release date "' .
$this->_packagexml->getDate() . '"');
return false;
}