cvs: pear-core /PEAR/PackageFile/v2 Validator.php
| From: | Greg Beaver | Date: | Sat, 30 Jul 2005 05:05:48 +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-33468@lists.php.net to get a copy of this message | ||
cellog Sat Jul 30 01:05:48 2005 EDT
Modified files:
/pear-core/PEAR/PackageFile/v2 Validator.php
Log:
fix faulty array_key_exists() call
http://cvs.php.net/diff.php/pear-core/PEAR/PackageFile/v2/Validator.php?r1=1.68&r2=1.69&ty=u
Index: pear-core/PEAR/PackageFile/v2/Validator.php
diff -u pear-core/PEAR/PackageFile/v2/Validator.php:1.68
pear-core/PEAR/PackageFile/v2/Validator.php:1.69
--- pear-core/PEAR/PackageFile/v2/Validator.php:1.68 Sat Jul 30 00:46:37 2005
+++ pear-core/PEAR/PackageFile/v2/Validator.php Sat Jul 30 01:05:46 2005
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Validator.php,v 1.68 2005/07/30 04:46:37 cellog Exp $
+// $Id: Validator.php,v 1.69 2005/07/30 05:05:46 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
@@ -106,7 +106,7 @@
if (array_key_exists('_lastmodified', $test)) {
unset($test['_lastmodified']);
}
- if (array_key_exists($test['#binarypackage'])) {
+ if (array_key_exists('#binarypackage', $test)) {
unset($test['#binarypackage']);
}
if (array_key_exists('old', $test)) {