#22431 [NEW]: HTML_Template_ITX: 3rd parameter to replaceBlockfile() is ignored
| From: | borz_off at cs dot msu dot su | Date: | Wed, 26 Feb 2003 12:45:24 +0000 |
| Subject: | #22431 [NEW]: HTML_Template_ITX: 3rd parameter to replaceBlockfile() is ignored | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-13913@lists.php.net to get a copy of this message | ||
From: borz_off at cs dot msu dot su
Operating system: all
PHP version: 4.2.3
PHP Bug Type: PEAR related
Bug description: HTML_Template_ITX: 3rd parameter to replaceBlockfile() is ignored
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
--
Edit bug report at http://bugs.php.net/?id=22431&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22431&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22431&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22431&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22431&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22431&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22431&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22431&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22431&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22431&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22431&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22431&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22431&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22431&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22431&r=gnused