php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22431 HTML_Template_ITX: 3rd parameter to replaceBlockfile() is ignored
Submitted: 2003-02-26 06:45 UTC Modified: 2003-04-28 03:42 UTC
From: borz_off at cs dot msu dot su Assigned: pajoye@php.net (profile)
Status: Closed Package: PEAR related
PHP Version: 4.2.3 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
46 - 18 = ?
Subscribe to this entry?

 
 [2003-02-26 06:45 UTC] borz_off at cs dot msu dot su
the current function definition reads:

function replaceBlockfile($block, $filename, $keep_content = false)
{
    return $this->replaceBlock($block, $this->getFile($filename));
} // end func replaceBlockfile

$keep_content is never passed on to replaceBlock(), the function should read:

function replaceBlockfile($block, $filename, $keep_content = false)
{
    return $this->replaceBlock($block, $this->getFile($filename), $keep_content);
} // end func replaceBlockfile

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-28 03:06 UTC] arnaud@php.net
Assigning to the maintainer.
 [2003-04-28 03:42 UTC] arnaud@php.net
As pointed out by alan, assign to username and not email.
 [2003-04-28 03:42 UTC] avb@php.net
This was fixed in HTML_Template_IT 1.1
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Oct 24 07:03:34 2021 UTC