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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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 Apr 18 02:02:52 2024 UTC