From: Greg Beaver Date: Thu, 4 Dec 2003 01:22:12 +0000 (+0000) Subject: fix notice X-Git-Tag: php-5.0.0b3RC1~356 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ab2d8263c1d86a657d2311c05dd803648ccdddd;p=php fix notice --- diff --git a/pear/PEAR/Remote.php b/pear/PEAR/Remote.php index b49b674d2c..80dff12f7a 100644 --- a/pear/PEAR/Remote.php +++ b/pear/PEAR/Remote.php @@ -307,7 +307,8 @@ class PEAR_Remote extends PEAR null, null, $ret['userinfo']); } } - } elseif (is_array($ret) && sizeof($ret) == 1 && is_array($ret[0]) && + } elseif (is_array($ret) && sizeof($ret) == 1 && isset($ret[0]) + && is_array($ret[0]) && !empty($ret[0]['faultString']) && !empty($ret[0]['faultCode'])) { extract($ret[0]);