|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17992 ITX ignores callback parameters
Submitted: 2002-06-26 06:59 UTC Modified: 2002-07-02 17:07 UTC
From: tfranz at moleman dot de Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.2.1 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.
Block user comment
Status: Assign to:
Bug Type:
From: tfranz at moleman dot de
New email:
PHP Version: OS:


 [2002-06-26 06:59 UTC] tfranz at moleman dot de
 The ITX template class ignores the parameters given to a 
callback function in the template. (the array remains 
I fixed this already in my local copy. 
Replace in buildFunctionList() the while-loop (line 590 
and on) with following code: 
  while ('' != $head && $args2 = $this->getValue($head, 
',')) { 
                $arg2 = trim($args2); 
                $args[] = ('"' == $arg2{0} || "'" == 
$arg2{0}) ? substr($arg2, 1, -1) : $arg2; 
                if ($arg2 == $head) 
                $head = substr($head, strlen($arg2) + 1); 
This should work. (but better read twice. I did not check 
for side effects) 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-02 17:07 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at In case this was a documentation 
problem, the fix will show up soon at
In case this was a website problem, the change will show
up on the site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Aug 01 15:01:24 2021 UTC