cvs: pear-core(PEAR_1_4) /PEAR/Command Pickle.php
| From: | Greg Beaver | Date: | Wed, 10 May 2006 03:25:16 +0000 |
| Subject: | cvs: pear-core(PEAR_1_4) /PEAR/Command Pickle.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4759@lists.php.net to get a copy of this message | ||
cellog Wed May 10 03:25:16 2006 UTC
Modified files: (Branch: PEAR_1_4)
/pear-core/PEAR/Command Pickle.php
Log:
fix weird valid but ridiculous typo
http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/Command/Pickle.php?r1=1.5&r2=1.5.2.1&diff_format=u
Index: pear-core/PEAR/Command/Pickle.php
diff -u pear-core/PEAR/Command/Pickle.php:1.5 pear-core/PEAR/Command/Pickle.php:1.5.2.1
--- pear-core/PEAR/Command/Pickle.php:1.5 Fri Jan 6 04:47:36 2006
+++ pear-core/PEAR/Command/Pickle.php Wed May 10 03:25:15 2006
@@ -15,7 +15,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 2005-2006 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Pickle.php,v 1.5 2006/01/06 04:47:36 cellog Exp $
+ * @version CVS: $Id: Pickle.php,v 1.5.2.1 2006/05/10 03:25:15 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 1.4.1
*/
@@ -156,7 +156,7 @@
require_once 'PEAR/PackageFile/v1.php';
$pf = new PEAR_PackageFile_v1;
$pf->setConfig($this->config);
- if (is_array($pf2->getPackageType() != 'extsrc')) {
+ if ($pf2->getPackageType() != 'extsrc') {
return $this->raiseError('Cannot safely convert "' . $packagexml .
'", is not an extension source package. Using a
PEAR_PackageFileManager-based ' .
'script is an option');