[xoops-cvslog 6090] CVS update: xoops2jp/html/modules/legacy/kernel

Back to archive index

NobuNobu nobun****@users*****
2007年 1月 11日 (木) 14:10:15 JST


Index: xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php
diff -u xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.27 xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.28
--- xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.27	Sun Dec  3 00:36:01 2006
+++ xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php	Thu Jan 11 14:10:15 2007
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package Legacy
- * @version $Id: Legacy_Controller.class.php,v 1.1.2.27 2006/12/02 15:36:01 nobunobu Exp $
+ * @version $Id: Legacy_Controller.class.php,v 1.1.2.28 2007/01/11 05:10:15 nobunobu Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -314,7 +314,7 @@
 				//
 				if ($cacheInfo->isEnableCache() && $this->existActiveCacheFile($filepath, $blockProcedure->getCacheTime())) {
 					$content = $this->loadCache($filepath);
-					if ($blockProcedure->isDisplay()) {
+					if ($blockProcedure->isDisplay() && !empty($content)) {
 						$context->mAttributes['legacy_BlockShowFlags'][$blockProcedure->getEntryIndex()] = true;
 						$context->mAttributes['legacy_BlockContents'][$blockProcedure->getEntryIndex()][] = array(
 							'id' => $blockProcedure->getId(),


xoops-cvslog メーリングリストの案内
Back to archive index