Minahito
minah****@users*****
2006年 8月 9日 (水) 18:40:49 JST
Index: xoops2jp/html/modules/base/kernel/object.php diff -u xoops2jp/html/modules/base/kernel/object.php:1.1.2.6 xoops2jp/html/modules/base/kernel/object.php:1.1.2.7 --- xoops2jp/html/modules/base/kernel/object.php:1.1.2.6 Wed Jul 5 11:38:59 2006 +++ xoops2jp/html/modules/base/kernel/object.php Wed Aug 9 18:40:48 2006 @@ -1,5 +1,8 @@ <?php -// $Id: object.php,v 1.1.2.6 2006/07/05 02:38:59 minahito Exp $ +/** + * @package legacy + * @version $Id: object.php,v 1.1.2.7 2006/08/09 09:40:48 minahito Exp $ + */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -61,6 +64,10 @@ function assignVar($key, $value) { + if (!isset($this->mVars[$key])) { + return; + } + switch ($this->mVars[$key]['data_type']) { case XOBJ_DTYPE_BOOL: $this->mVars[$key]['value'] = $value ? 1 : 0;