PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Structures » Structures_DataGrid » Bug #3191

Structures_DataGrid_Renderer_Smarty::setTemplate()

Details

Submitted2005-01-13 21:27 UTC
Fromtfraser at jeffsys dot net
Assignedasnagy
StatusClosed
PackageStructures_DataGrid
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2005-01-13 21:27 UTC] tfraser at jeffsys dot net

Description:
------------
For version 0.60 beta,
Structures_DataGrid_Renderer_Smarty::setTemplate() contains an invalid reference to $this->_smarty

Line 68 should reference $this->_smarty, instead of $this->smarty:

return new PEAR_Error('Error: Unable to find ' . $this->smarty->template_dir . '/' . $tpl);

[2005-01-18 19:31 UTC] asnagy at webitecture dot org

This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.

Thank you for the report, and for helping us make PEAR better.

[2005-09-05 23:51 UTC] wouter_hartog at hotmail dot com

I downloaded the latest version (0.6.2), but this is still a problem. In the file smarty.php, line 87 (appr.), the line:
return $smarty;
was still there. It should be:
return $this->_smarty;
Like the person that logged this PR was stating already..

How is this possible? Did this not get included in the release?