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

From: Date: Sat, 03 Apr 2004 15:56:12 +0000
Subject: cvs: php-src(PHP_4_3) /pear/PEAR/Command Remote.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-217@lists.php.net to get a copy of this message
cellog Sat Apr 3 10:56:12 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/pear/PEAR/Command Remote.php Log: MFH fixed #534 for real (remove notice if state=stable doesn't exist, and use "none" for stable version number) http://cvs.php.net/diff.php/php-src/pear/PEAR/Command/Remote.php?r1=1.22.2.16&r2=1.22.2.17&ty=u Index: php-src/pear/PEAR/Command/Remote.php diff -u php-src/pear/PEAR/Command/Remote.php:1.22.2.16 php-src/pear/PEAR/Command/Remote.php:1.22.2.17 --- php-src/pear/PEAR/Command/Remote.php:1.22.2.16 Sat Apr 3 01:09:23 2004 +++ php-src/pear/PEAR/Command/Remote.php Sat Apr 3 10:56:11 2004 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Remote.php,v 1.22.2.16 2004/04/03 06:09:23 cellog Exp $ +// $Id: Remote.php,v 1.22.2.17 2004/04/03 15:56:11 cellog Exp $ require_once 'PEAR/Command/Common.php'; require_once 'PEAR/Common.php'; @@ -278,6 +278,9 @@ if ($info['unstable']) { $unstable = '/(' . $info['unstable'] . $info['state'] . ')'; } + if (!isset($info['stable']) || !$info['stable']) { + $info['stable'] = 'none'; + } $data['data'][$info['category']][] = array( $name, $info['stable'] . $unstable, @@ -287,7 +290,7 @@ } if (!isset($data['data'])) { return $this->raiseError('no packages found'); - }; + } $this->ui->outputData($data, $command); return true; }

« previous php.pear.core (#217) next »