cvs: pear-core /PEAR/PackageFile/Generator v2.php

From: Date: Sun, 02 Oct 2005 06:29:25 +0000
Subject: cvs: pear-core /PEAR/PackageFile/Generator v2.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-35211@lists.php.net to get a copy of this message
cellog Sun Oct 2 02:29:25 2005 EDT Modified files: /pear-core/PEAR/PackageFile/Generator v2.php Log: $tasks should be array() not null http://cvs.php.net/diff.php/pear-core/PEAR/PackageFile/Generator/v2.php?r1=1.31&r2=1.32&ty=u Index: pear-core/PEAR/PackageFile/Generator/v2.php diff -u pear-core/PEAR/PackageFile/Generator/v2.php:1.31 pear-core/PEAR/PackageFile/Generator/v2.php:1.32 --- pear-core/PEAR/PackageFile/Generator/v2.php:1.31 Sun Oct 2 01:32:56 2005 +++ pear-core/PEAR/PackageFile/Generator/v2.php Sun Oct 2 02:29:24 2005 @@ -16,7 +16,7 @@ * @author Stephan Schmidt (original XML_Serializer code) * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: v2.php,v 1.31 2005/10/02 05:32:56 cellog Exp $ + * @version CVS: $Id: v2.php,v 1.32 2005/10/02 06:29:24 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 1.4.0a1 */ @@ -390,7 +390,7 @@ function _addDir(&$dirs, $dir, $file = null, $attributes = null, $tasks = null) { if (!$tasks) { - $tasks = null; + $tasks = array(); } if ($dir == array() || $dir == array('.')) { $dirs['file'][basename($file)] = $tasks; @@ -885,7 +885,7 @@ // | Authors: Stephan Schmidt <schst@php-tools.net> | // +----------------------------------------------------------------------+ // -// $Id: v2.php,v 1.31 2005/10/02 05:32:56 cellog Exp $ +// $Id: v2.php,v 1.32 2005/10/02 06:29:24 cellog Exp $ /** * error code for invalid chars in XML name

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