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

mark at devel.plogworld.net mark at devel.plogworld.net
Sun Mar 6 04:19:26 GMT 2005


Author: mark
Date: 2005-03-06 04:19:25 +0000 (Sun, 06 Mar 2005)
New Revision: 1328

Modified:
   plog/trunk/class/view/smartyview.class.php
Log:
Fix the bug http://bugs.plogworld.net/view.php?id=315

Modified: plog/trunk/class/view/smartyview.class.php
===================================================================
--- plog/trunk/class/view/smartyview.class.php	2005-03-05 23:33:38 UTC (rev 1327)
+++ plog/trunk/class/view/smartyview.class.php	2005-03-06 04:19:25 UTC (rev 1328)
@@ -162,7 +162,7 @@
 			// check if plog is configured to use conditional http headers and stuff like
 			// that... Also, use the HttpCache class to determine whether we should send the
 			// content or not
-			if( $this->isTemplateHttpCacheEnabled()) {
+			if( $this->isTemplateHttpCacheEnabled() && $this->isCached()) {
 				// some debug information
 				$timestamp = $this->_template->getCreationTimestamp();
 				$this->log->debug("cache creation timestamp: ".$timestamp);




More information about the pLog-svn mailing list