Made temporary fix in [SVN:97] on line 757 through 768 Joomla1.5 was going to drop patTemplate so not sure what we want to do about that, if this has been mentioned sorry. They mentioned that they J1.5 will support patTemplate for legacy purposes although its support is different than the current patTemplate. Do not see how to actually create a template with the newer pattemplate.
757 //Check for Joomla 1.5
758 if (!defined('_JEXEC')) {
759 require_once ( JPATH_ROOT . DS . 'includes' . DS . 'patTemplate' . DS . 'patTemplate.php' );
760 } else {
761 //jimport('pattemplate.patTemplate');
762 // Joomla 1.5 does not have createTemplate. Not sure how to handel this in 1.5.
763 require_once ( JPATH_ROOT . DS . 'includes' . DS . 'patTemplate' . DS . 'patTemplate.php' );
764 $tmpl =& patFactory::createTemplate( $option, true, false );
765 $tmpl->setRoot( dirname( __FILE__ ) . '/tmpl' );
766
767 return $tmpl;
768 }