From b733ac940604ed4e5ab12f111ed7983fe8da10cd Mon Sep 17 00:00:00 2001 From: Seasoft Date: Sat, 18 Apr 2020 12:51:56 +0900 Subject: [PATCH] =?UTF-8?q?refs=20#111=20SC=5FFormParam::setHtmlDispNameAr?= =?UTF-8?q?ray()=20=E3=81=AE=E5=88=A4=E5=AE=9A=E3=81=8C=E4=B8=8D=E9=81=A9?= =?UTF-8?q?=E5=88=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 値のセット側 (例: `$arrCSVFrame[$key]['default'] = '0';`) は、必ずしも誤りでないので変更を見送った。 --- data/class/SC_FormParam.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/class/SC_FormParam.php b/data/class/SC_FormParam.php index 095bc6ad9a..a51bb03895 100644 --- a/data/class/SC_FormParam.php +++ b/data/class/SC_FormParam.php @@ -138,7 +138,7 @@ public function setHtmlDispNameArray() } else { $this->html_disp_name[$index] = $this->disp_name[$index]; } - if ($this->arrDefault[$key] != '') { + if (strlen($this->arrDefault[$key]) >= 1) { $this->html_disp_name[$index] .= ' [省略時初期値: ' . $this->arrDefault[$key] . ']'; } if ($this->input_db[$index] == false) {