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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC