NobuNobu
nobun****@users*****
2006年 2月 3日 (金) 16:32:00 JST
Index: xoops2jp/html/class/XCube_ActionForm.class.php diff -u xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.28 xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.29 --- xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.28 Fri Feb 3 15:43:18 2006 +++ xoops2jp/html/class/XCube_ActionForm.class.php Fri Feb 3 16:32:00 2006 @@ -320,7 +320,10 @@ function setValue($index, $value) { - $this->mValue[$index] = $value; + if (!isset($this->mProperties[$index])) { + $this->mProperties[$index] = new $this->mPropertyClassName($this->mName); + } + $this->mProperties[$index]->setValue($value); } function getValue($index=null)