[xoops-cvslog 5767] CVS update: xoops2jp/html/modules/legacyRender/kernel

Back to archive index

NobuNobu nobun****@users*****
2006年 11月 10日 (金) 23:44:27 JST


Index: xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php
diff -u xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.30.2.11 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.30.2.12
--- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.30.2.11	Fri Nov 10 23:29:36 2006
+++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php	Fri Nov 10 23:44:27 2006
@@ -1,6 +1,6 @@
 <?php
 /**
- * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.30.2.11 2006/11/10 14:29:36 nobunobu Exp $
+ * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.30.2.12 2006/11/10 14:44:27 nobunobu Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -64,7 +64,9 @@
 		$root =& XCube_Root::getSingleton();
 		if (!isset($name)) {
 			foreach ($this->_mContextReserve as $t_key => $t_value) {
-				$this->_tpl_vars[$t_key] = htmlspecialchars($root->mContext->getAttribute($this->_mContextReserve[$t_value]), ENT_QUOTES);
+			    if (isset($this->_mContextReserve[$t_value])) {
+				    $this->_tpl_vars[$t_key] = htmlspecialchars($root->mContext->getAttribute($this->_mContextReserve[$t_value]), ENT_QUOTES);
+				}
 			}
 			return parent::get_template_vars($name);
 		}


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