VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: doorknob on November 27, 2009, 18:27:19 PM

Title: Bug in templates.class.php
Post by: doorknob on November 27, 2009, 18:27:19 PM
The code added to allow sub-classing does not pass parameters to the parent. Any attempt to instantiate a template object with a different path fails.
Lines 266-267 should be changed from
function vmTemplate() {
parent::vm_vmTemplate();

to
function vmTemplate($path='', $expire=0) {
parent::vm_vmTemplate($path, $expire);

(using build 1977)
Regards
Phil
Title: Re: Bug in templates.class.php
Post by: doorknob on February 05, 2010, 03:12:00 AM
As of build 2296, this bug is still not fixed