[xoops-cvslog 1728] CVS update: xoops2jp/html/class

Back to archive index

Minahito minah****@users*****
2006年 1月 14日 (土) 14:23:42 JST


Index: xoops2jp/html/class/XCube_ActionForm.class.php
diff -u xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.19 xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.20
--- xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.19	Thu Jan 12 15:50:01 2006
+++ xoops2jp/html/class/XCube_ActionForm.class.php	Sat Jan 14 14:23:42 2006
@@ -115,6 +115,7 @@
 		//
 		if ($this->getTokenName() != null) {
 			$token = xoops_getrequest(strtr($this->getTokenName(), '.', '_'));
+			
 			if (!isset($_SESSION['XCUBE_TOKEN'][$this->getTokenName()])) {
 				$this->addErrorMessage(_TOKEN_ERROR);
 			}
@@ -232,7 +233,7 @@
 		if($index==null)
 			return $this->mValue;
 
-		return $this->mValue[$index];
+		return isset($this->mValue[$index]) ? $this->mValue[$index] : null;
 	}
 
 }


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