|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-02 17:07 UTC] mj@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 03:00:01 2025 UTC |
The ITX template class ignores the parameters given to a callback function in the template. (the array remains empty). 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) break; $head = substr($head, strlen($arg2) + 1); } This should work. (but better read twice. I did not check for side effects) Tim