Ticket #1920 (new バグ指摘) — at Initial Version
SC_CheckError、HTML_TAG_CHECK()内のpreg_match_allにてタグの抽出がうまくいかない
| Reported by: | sakurasaku44 | Owned by: | somebody |
|---|---|---|---|
| Priority: | 中 | Milestone: | EC-CUBE2.13.0 |
| Component: | フロント | Version: | 2.12.1 |
| Keywords: | Cc: | ||
| 修正済み: | yes |
Description
data/class/SC_CheckError.php 61行目付近
preg_match_all('/<\/?([a-z]+)/i', $this->arrParam[$value[1]], $arrTagIncludedHtml = array());
とありますが、$arrTagIncludedHtmlがうまく取れてきません。 「$arrTagIncludedHtml = array()」この初期化がまずそうです。
$arrTagIncludedHtml = array();
preg_match_all('/<\/?([a-z]+)/i', $this->arrParam[$value[1]], $arrTagIncludedHtml);
とすると動作します。
--検証環境-- EC-CUBE:2.12.1 サーバーOS:Linux DBサーバー:PostgreSQL 8.4.8 WEBサーバー :Apache/2.0.64 (Red Hat) PHP:5.2.17
Note: See
TracTickets for help on using
tickets.
