Bug #13926 Updated: ITX.php code mis-type

From: Date: Mon, 05 Nov 2001 07:26:04 +0000
Subject: Bug #13926 Updated: ITX.php code mis-type
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2552@lists.php.net to get a copy of this message
ID: 13926 Updated by: mj Reported By: dietrich@ganx4.com Old Status: Open Status: Closed Bug Type: PEAR related Operating System: linux PHP Version: 4.0.6 New Comment: Fixed in CVS. Thanks for your report. Previous Comments: ------------------------------------------------------------------------ [2001-11-04 23:04:53] dietrich@ganx4.com oops, forgive the mistype in my report of a mistype ;) foreach(foreach( should be only: foreach( ------------------------------------------------------------------------ [2001-11-04 23:01:44] dietrich@ganx4.com on line 475, inside the getBlockvariables() method is missing a very important few chars that specify *which* block's vars to list. the existing code returns an array of block names: ** old code ** foreach(foreach ($this->blockvariables as $variable => $v){ ** /old code ** should be: ** new code ** foreach(foreach ($this->blockvariables[$block] as $variable => $v){ ** /new code ** ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13926&edit=1

« previous php.pear.dev (#2552) next »