Author Topic: Bug in templates.class.php  (Read 3144 times)

doorknob

  • Jr. Member
  • **
  • Posts: 151
Bug in templates.class.php
« 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
Code: [Select]
function vmTemplate() {
parent::vm_vmTemplate();
to
Code: [Select]
function vmTemplate($path='', $expire=0) {
parent::vm_vmTemplate($path, $expire);
(using build 1977)
Regards
Phil

doorknob

  • Jr. Member
  • **
  • Posts: 151
Re: Bug in templates.class.php
« Reply #1 on: February 05, 2010, 03:12:00 am »
As of build 2296, this bug is still not fixed