cvs: pear-core /PEAR/REST 11.php

From: Date: Mon, 02 Jan 2006 18:27:28 +0000
Subject: cvs: pear-core /PEAR/REST 11.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-37263@lists.php.net to get a copy of this message
cellog Mon Jan 2 18:27:28 2006 UTC Modified files: /pear-core/PEAR/REST 11.php Log: fix pecl portion of Bug #6244: PEAR installation problems http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/REST/11.php?r1=1.2&r2=1.3&diff_format=u Index: pear-core/PEAR/REST/11.php diff -u pear-core/PEAR/REST/11.php:1.2 pear-core/PEAR/REST/11.php:1.3 --- pear-core/PEAR/REST/11.php:1.2 Thu Oct 27 05:54:37 2005 +++ pear-core/PEAR/REST/11.php Mon Jan 2 18:27:27 2006 @@ -15,7 +15,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: 11.php,v 1.2 2005/10/27 05:54:37 cellog Exp $ + * @version CVS: $Id: 11.php,v 1.3 2006/01/02 18:27:27 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 1.4.3 */ @@ -137,7 +137,8 @@ } if ($latest) { if (isset($packageinfo['deps'])) { - if (!isset($packageinfo['deps'][0])) { + if (!is_array($packageinfo['deps']) || + !isset($packageinfo['deps'][0])) { $packageinfo['deps'] = array($packageinfo['deps']); } }

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