logo       
Google Custom Search
    AddThis Social Bookmark Button

cvs: pear-core /PEAR ChannelFile.php: msg#00144

Subject: cvs: pear-core /PEAR ChannelFile.php
cellog          Sun Apr 24 16:28:19 2005 EDT

  Modified files:              
    /pear-core/PEAR     ChannelFile.php 
  Log:
  we need to check the type attribute, not the type tag
  
http://cvs.php.net/diff.php/pear-core/PEAR/ChannelFile.php?r1=1.59&r2=1.60&ty=u
Index: pear-core/PEAR/ChannelFile.php
diff -u pear-core/PEAR/ChannelFile.php:1.59 pear-core/PEAR/ChannelFile.php:1.60
--- pear-core/PEAR/ChannelFile.php:1.59 Sun Apr 24 00:42:36 2005
+++ pear-core/PEAR/ChannelFile.php      Sun Apr 24 16:28:19 2005
@@ -15,7 +15,7 @@
  * @author     Greg Beaver <cellog@xxxxxxx>
  * @copyright  1997-2005 The PHP Group
  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
- * @version    CVS: $Id: ChannelFile.php,v 1.59 2005/04/24 04:42:36 cellog Exp 
$
+ * @version    CVS: $Id: ChannelFile.php,v 1.60 2005/04/24 20:28:19 cellog Exp 
$
  * @link       http://pear.php.net/package/PEAR
  * @since      File available since Release 1.4.0a1
  */
@@ -1467,7 +1467,7 @@
             $setmirror['rest']['baseurl'] = 
array($setmirror['rest']['baseurl']);
         }
         foreach ($setmirror['rest']['baseurl'] as $i => $url) {
-            if ($url['type'] == $resourceType) {
+            if ($url['attribs']['type'] == $resourceType) {
                 $this->_isValid = false;
                 $setmirror['rest']['baseurl'][$i] = $set;
             }

-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>