logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

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

Subject: cvs: pear-core /PEAR ChannelFile.php
cellog          Tue Aug 17 16:23:48 2004 EDT

  Modified files:              
    /pear-core/PEAR     ChannelFile.php 
  Log:
  fix warning
  
http://cvs.php.net/diff.php/pear-core/PEAR/ChannelFile.php?r1=1.5&r2=1.6&ty=u
Index: pear-core/PEAR/ChannelFile.php
diff -u pear-core/PEAR/ChannelFile.php:1.5 pear-core/PEAR/ChannelFile.php:1.6
--- pear-core/PEAR/ChannelFile.php:1.5  Mon Aug 16 23:40:46 2004
+++ pear-core/PEAR/ChannelFile.php      Tue Aug 17 16:23:48 2004
@@ -16,7 +16,7 @@
 // | Authors: Gregory Beaver <cellog@xxxxxxx>                             |
 // +----------------------------------------------------------------------+
 //
-// $Id: ChannelFile.php,v 1.5 2004/08/17 03:40:46 cellog Exp $
+// $Id: ChannelFile.php,v 1.6 2004/08/17 20:23:48 cellog Exp $
 
 require_once 'PEAR/Common.php';
 
@@ -1032,7 +1032,7 @@
                 
$this->_validateError(PEAR_CHANNELFILE_ERROR_NOVALIDATE_VERSION, 
array('package' => @$info['validatepackage']['name']));
             }
         }
-        if (!isset($info['protocols']['xmlrpc'])) {
+        if (!isset($info['protocols']['xmlrpc']) || 
!isset($info['protocols']['xmlrpc']['functions'])) {
             $this->_validateError(PEAR_CHANNELFILE_ERROR_NO_XMLRPC);
         } else {
             if (empty($info['protocols']['xmlrpc']['host'])) {

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




<Prev in Thread] Current Thread [Next in Thread>