[Svn-src-all:3903] [version-2_13-dev 22817] #2247 (CHECK_BIRTHDAY 0年0月0日ですり抜け)
Seasoft
admin @ mail.ec-cube.net
2013年 5月 14日 (火) 00:30:26 JST
Subversion committed to /home/svn/open 22817
http://svn.ec-cube.net/open_trac/changeset/22817
┌────────────────────────────┐
│更新者 : Seasoft │
│更新日時: 2013-05-14 00:30:26 +0900 (火, 14 5月 2013)│
└────────────────────────────┘
Log:
--------------------------------------------------------
#2247 (CHECK_BIRTHDAY 0年0月0日ですり抜け)
Changed: [U:修正,A:追加,D:削除]
--------------------------------------------------------
U branches/version-2_13-dev/data/class/SC_CheckError.php
変更: branches/version-2_13-dev/data/class/SC_CheckError.php
===================================================================
--- branches/version-2_13-dev/data/class/SC_CheckError.php 2013-05-13 10:38:25 UTC (rev 22816)
+++ branches/version-2_13-dev/data/class/SC_CheckError.php 2013-05-13 15:30:26 UTC (rev 22817)
@@ -935,7 +935,7 @@
$this->createParam($value);
// 年が入力されている。
- if ($this->arrParam[$value[1]] > 0) {
+ if (strlen($this->arrParam[$value[1]]) >= 1) {
// 年の数字チェック、最小数値制限チェック
$this->doFunc(array($value[0].'(年)', $value[1], BIRTH_YEAR), array('NUM_CHECK', 'MIN_CHECK'));
Svn-src-all メーリングリストの案内