NobuNobu
nobun****@users*****
2006年 2月 3日 (金) 15:43:18 JST
Index: xoops2jp/html/class/XCube_ActionForm.class.php diff -u xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.27 xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.28 --- xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.27 Thu Feb 2 20:49:23 2006 +++ xoops2jp/html/class/XCube_ActionForm.class.php Fri Feb 3 15:43:18 2006 @@ -260,7 +260,7 @@ { $value = null; - if ($key != null && is_array($_REQUEST[$this->mName]) && isset($_REQUEST[$this->mName][$key])) { + if ($key !== null && is_array($_REQUEST[$this->mName]) && isset($_REQUEST[$this->mName][$key])) { $value = $_REQUEST[$this->mName][$key]; } elseif (isset($_REQUEST[$this->mName]) && !is_array($_REQUEST[$this->mName])) { @@ -329,7 +329,7 @@ $ret = array(); foreach ($this->mProperties as $name => $value) { - $ret[$name] = $value; + $ret[$name] = $value->getValue(); } return $ret;