cvs: php4(PHP_4_3) /pear/PEAR/Command Remote.php

From: Date: Mon, 25 Nov 2002 23:52:56 +0000
Subject: cvs: php4(PHP_4_3) /pear/PEAR/Command Remote.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-7592@lists.php.net to get a copy of this message
ssb Mon Nov 25 18:52:56 2002 EDT Modified files: (Branch: PHP_4_3) /php4/pear/PEAR/Command Remote.php Log: MFH Index: php4/pear/PEAR/Command/Remote.php diff -u php4/pear/PEAR/Command/Remote.php:1.22 php4/pear/PEAR/Command/Remote.php:1.22.2.1 --- php4/pear/PEAR/Command/Remote.php:1.22 Wed Oct 2 17:27:25 2002 +++ php4/pear/PEAR/Command/Remote.php Mon Nov 25 18:52:56 2002 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Remote.php,v 1.22 2002/10/02 21:27:25 ssb Exp $ +// $Id: Remote.php,v 1.22.2.1 2002/11/25 23:52:56 ssb Exp $ require_once 'PEAR/Command/Common.php'; require_once 'PEAR/Common.php'; @@ -169,6 +169,9 @@ $available = $r->call('package.listAll', $list_options); if (PEAR::isError($available)) { return $this->raiseError($available); + } + if (!is_array($available)) { + return $this->raiseError('The package list could not be fetched from the remote server. Please try again. (Debug info: "'.$available.'")'); } $data = array( 'caption' => 'All packages:',

« previous php.pear.cvs (#7592) next »