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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dietrich at ganx4 dot com
New email:
PHP Version: OS:

 

 [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-2021 The PHP Group
All rights reserved.
Last updated: Sun Jun 13 05:01:24 2021 UTC