cellog Tue Aug 24 14:23:21 2004 EDT
Modified files:
/pear-core/PEAR Validate.php
Log:
fix typo (thanks Dan)
http://cvs.php.net/diff.php/pear-core/PEAR/Validate.php?r1=1.3&r2=1.4&ty=u
Index: pear-core/PEAR/Validate.php
diff -u pear-core/PEAR/Validate.php:1.3 pear-core/PEAR/Validate.php:1.4
--- pear-core/PEAR/Validate.php:1.3 Tue Aug 24 02:49:33 2004
+++ pear-core/PEAR/Validate.php Tue Aug 24 14:23:21 2004
@@ -16,7 +16,7 @@
// | Authors: Gregory Beaver <cellog@xxxxxxx> |
// +----------------------------------------------------------------------+
//
-// $Id: Validate.php,v 1.3 2004/08/24 06:49:33 cellog Exp $
+// $Id: Validate.php,v 1.4 2004/08/24 18:23:21 cellog Exp $
define('PEAR_VALIDATE_NORMAL', 1);
define('PEAR_VALIDATE_PACKAGING', 2);
define('PEAR_VALIDATE_INSTALLING', 3);
@@ -89,7 +89,7 @@
$version = $this->_packagexml->getVersion();
$versioncomponents = explode('.', $version);
if (count($versioncomponents) != 3) {
- $this->addFailure('version', 'Must have 3 decimals (x.y.z) in a
version number');
+ $this->_addFailure('version', 'Must have 3 decimals (x.y.z) in a
version number');
return false;
}
$name = $this->_packagexml->getPackage();
--
PEAR Core List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|