Ticket #1398 (closed バグ指摘: 修正済)
SC_Utils::isBlank() で, 空白文字列をのみの配列を処理できない
| Reported by: | nanasess | Owned by: | nanasess |
|---|---|---|---|
| Priority: | 中 | Milestone: | EC-CUBE2.11.2 |
| Component: | その他 | Version: | 2.11.1 |
| Keywords: | Cc: | ||
| 修正済み: | yes |
Description
MPV 様, taji 様のご報告
以下のようなコードが正しく処理できない. PHP 5.3未満では false を返し, PHP5.3.x では Warning が発生してしまう.
<?php $array[0] = ""; $ret = SC_Utils::isBlank($array); var_dump($ret); ?>
参考
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=flat&order=ASC&topic_id=8287&forum=9
Change History
Note: See
TracTickets for help on using
tickets.

パッチの案
data/class/util/SC_Utils.php