php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13926 ITX.php code mis-type
Submitted: 2001-11-04 23:01 UTC Modified: 2001-11-05 02:26 UTC
From: dietrich at ganx4 dot com Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.0.6 OS: linux
Private report: No CVE-ID: None
 [2001-11-04 23:01 UTC] dietrich at ganx4 dot 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 **

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-09 17:19 UTC] irker@php.net
Automatic comment from SVN on behalf of irker
Revision: http://svn.php.net/viewvc/?view=revision&revision=326562
Log: Updated translation and fix mistakes
Thx to anonymous #13926 and #16332
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC