[pLog-svn] r4452 - plog/trunk/class/view

oscar at devel.lifetype.net oscar at devel.lifetype.net
Fri Dec 29 19:27:49 GMT 2006


Author: oscar
Date: 2006-12-29 19:27:48 +0000 (Fri, 29 Dec 2006)
New Revision: 4452

Modified:
   plog/trunk/class/view/smartyview.class.php
Log:
Fixed an issue with 'partial' templates when the template cache is not enabled

Modified: plog/trunk/class/view/smartyview.class.php
===================================================================
--- plog/trunk/class/view/smartyview.class.php	2006-12-29 14:56:32 UTC (rev 4451)
+++ plog/trunk/class/view/smartyview.class.php	2006-12-29 19:27:48 UTC (rev 4452)
@@ -90,8 +90,10 @@
 				$this->_data["blogId"] = $blogInfo->getId();				
 				$this->_viewId = $this->generateCacheId();
 			}
-			else
+			else {
 				$this->_template = $ts->Template( $this->_templateName, $blogSettings->getValue( 'template' ), $this->_blogInfo );
+				$this->_template->useTemplateLoadOrder = true;
+			}
         }
 		
 		/**



More information about the pLog-svn mailing list