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
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: borz_off at cs dot msu dot su
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 05:01:31 2024 UTC