cvs: pear-core /PEAR/PackageFile/v2 Validator.php
| From: | Greg Beaver | Date: | Thu, 04 Nov 2004 23:04:42 +0000 |
| Subject: | cvs: pear-core /PEAR/PackageFile/v2 Validator.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-25681@lists.php.net to get a copy of this message | ||
cellog Thu Nov 4 18:04:42 2004 EDT
Modified files:
/pear-core/PEAR/PackageFile/v2 Validator.php
Log:
fix conflicting package dependency validation
http://cvs.php.net/diff.php/pear-core/PEAR/PackageFile/v2/Validator.php?r1=1.5&r2=1.6&ty=u
Index: pear-core/PEAR/PackageFile/v2/Validator.php
diff -u pear-core/PEAR/PackageFile/v2/Validator.php:1.5
pear-core/PEAR/PackageFile/v2/Validator.php:1.6
--- pear-core/PEAR/PackageFile/v2/Validator.php:1.5 Thu Nov 4 14:10:32 2004
+++ pear-core/PEAR/PackageFile/v2/Validator.php Thu Nov 4 18:04:40 2004
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Validator.php,v 1.5 2004/11/04 19:10:32 cellog Exp $
+// $Id: Validator.php,v 1.6 2004/11/04 23:04:40 cellog Exp $
/**
* Private validation class used by PEAR_PackageFile_v2 - do not use directly, its
* sole purpose is to split up the PEAR/PackageFile/v2.php file to make it smaller
@@ -590,7 +590,7 @@
$iter = array($iter);
}
foreach ($iter as $package) {
- if (isset($package['url'])) {
+ if (isset($package['uri'])) {
if (isset($package['channel'])) {
$this->_UrlOrChannel($type,
$package['name']);