Changeset 22876 for branches/version-2_12-dev/data/class/SC_CheckError.php
- Timestamp:
- 2013/06/24 10:43:03 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_CheckError.php
r22874 r22876 1116 1116 $this->createParam($value); 1117 1117 $targetStr = $this->arrParam[$value[1]]; 1118 1119 1118 $prohibitedStr = str_replace(array('|', '/'), array('\|', '\/'), $value[2]); 1120 $pattern = '/' . join('\b|\b', $prohibitedStr) . '\b/i'; 1121 1119 1120 $pattern = '/' . join('|', $prohibitedStr) . '/i'; 1122 1121 if (preg_match_all($pattern, $targetStr, $matches = array())) { 1123 1122 $this->arrErr[$value[1]] = '※ ' . $value[0] . 'は入力できません。<br />';
Note: See TracChangeset
for help on using the changeset viewer.