Skip to content

Commit

Permalink
refs EC-CUBE#111 SC_FormParam::setHtmlDispNameArray() の判定が不適切
Browse files Browse the repository at this point in the history
値のセット側 (例: `$arrCSVFrame[$key]['default'] = '0';`) は、必ずしも誤りでないので変更を見送った。
  • Loading branch information
seasoftjapan committed Apr 18, 2020
1 parent 6d191a0 commit b733ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/class/SC_FormParam.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b733ac9

Please sign in to comment.