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

From: Date: Sun, 21 Aug 2005 21:18:34 +0000
Subject: cvs: pear-core /PEAR/PackageFile/Generator v1.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-3684@lists.php.net to get a copy of this message
cellog Sun Aug 21 17:18:34 2005 EDT Modified files: /pear-core/PEAR/PackageFile/Generator v1.php Log: fix pass-by-ref fatal error http://cvs.php.net/diff.php/pear-core/PEAR/PackageFile/Generator/v1.php?r1=1.59&r2=1.60&ty=u Index: pear-core/PEAR/PackageFile/Generator/v1.php diff -u pear-core/PEAR/PackageFile/Generator/v1.php:1.59 pear-core/PEAR/PackageFile/Generator/v1.php:1.60 --- pear-core/PEAR/PackageFile/Generator/v1.php:1.59 Sun Aug 21 17:15:47 2005 +++ pear-core/PEAR/PackageFile/Generator/v1.php Sun Aug 21 17:18:34 2005 @@ -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: v1.php,v 1.59 2005/08/21 21:15:47 cellog Exp $ + * @version CVS: $Id: v1.php,v 1.60 2005/08/21 21:18:34 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 1.4.0a1 */ @@ -1002,13 +1002,13 @@ } if (count($min)) { // get the highest minimum - $min = array_pop(array_flip($min)); + $min = array_pop($a = array_flip($min)); } else { $min = false; } if (count($max)) { // get the lowest maximum - $max = array_shift(array_flip($max)); + $max = array_shift($a = array_flip($max)); } else { $max = false; }

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