News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Bug in templates.class.php

Started by doorknob, November 27, 2009, 18:27:19 PM

Previous topic - Next topic

doorknob

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

doorknob

As of build 2296, this bug is still not fixed