Index: branches/feature-module-update/data/class/SC_CheckError.php
===================================================================
--- branches/feature-module-update/data/class/SC_CheckError.php (revision 15080)
+++ branches/feature-module-update/data/class/SC_CheckError.php (revision 15346)
@@ -75,4 +75,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
if(strlen($this->arrParam[$value[1]]) != 0 && ereg("^[ \t\r\n]+$", $this->arrParam[$value[1]])){
$this->arrErr[$value[1]] = "※ " . $value[0] . "にスペース、タブ、改行のみの入力はできません。
";
@@ -86,4 +87,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
if(strlen($this->arrParam[$value[1]]) != 0 && mb_ereg("[ \t\r\n]+", $this->arrParam[$value[1]])){
$this->arrErr[$value[1]] = "※ " . $value[0] . "にスペース、タブ、改行は含めないで下さい。
";
@@ -96,4 +98,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
if(strlen($this->arrParam[$value[1]]) != 0 && ereg("^[0]+[0-9]+$", $this->arrParam[$value[1]])){
$this->arrErr[$value[1]] = "※ " . $value[0] . "に0で始まる数値が入力されています。
";
@@ -107,4 +110,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
if( strlen($this->arrParam[$value[1]]) == 0 ){
$this->arrErr[$value[1]] = "※ " . $value[0] . "が選択されていません。
";
@@ -118,4 +122,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
// 文字数の取得
if( $this->arrParam[$value[2]] != $this->arrParam[$value[3]]) {
@@ -130,4 +135,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
// 文字数の取得
if( $this->arrParam[$value[2]] == $this->arrParam[$value[3]]) {
@@ -142,4 +148,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
// 文字数の取得
if($this->arrParam[$value[2]] != "" && $this->arrParam[$value[3]] != "" && ($this->arrParam[$value[2]] > $this->arrParam[$value[3]])) {
@@ -155,4 +162,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
// 文字数の取得
if( mb_strlen($this->arrParam[$value[1]]) > $value[2] ) {
@@ -167,4 +175,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
// 文字数の取得
if( mb_strlen($this->arrParam[$value[1]]) < $value[2] ) {
@@ -179,4 +188,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
// 文字数の取得
if($this->arrParam[$value[1]] > $value[2] ) {
@@ -191,4 +201,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
if($this->arrParam[$value[1]] < $value[2] ) {
$this->arrErr[$value[1]] = "※ " . $value[0] . "は" . $value[2] . "以上で入力してください。
";
@@ -203,4 +214,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
if( strlen($this->arrParam[$value[1]]) > 0 && !EregI("^[[:digit:]]+$", $this->arrParam[$value[1]])) {
$this->arrErr[$value[1]] = "※ " . $value[0] . "は数字で入力してください。
";
@@ -214,4 +226,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
if( strlen($this->arrParam[$value[1]]) > 0 && !EregI("^[[:digit:]]+[\.]?[[:digit:]]+$", $this->arrParam[$value[1]])) {
$this->arrErr[$value[1]] = "※ " . $value[0] . "は数字で入力してください。
";
@@ -223,4 +236,5 @@
return;
}
+ if (!isset($this->arrParam[$value[1]])) $this->arrParam[$value[1]] = "";
if( strlen($this->arrParam[$value[1]]) > 0 && !EregI("^[[:alpha:]]+$", $this->arrParam[$value[1]])) {
$this->arrErr[$value[1]] = "※ " . $value[0] . "は半角英字で入力してください。
";