Changeset 18517


Ignore:
Timestamp:
2010/02/01 12:29:25 (11 years ago)
Author:
nanasess
bzr:base-revision:
ohkouchi@loop-az.jp-20100201031639-ti7ylim4f7vkh5mq
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/class/SC_CheckError.php 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2FSC_CheckError.php
bzr:mapping-version:
v4
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20100201032922-cg71x9egaxhw2cfo
bzr:revno:
1888
bzr:revprop:branch-nick:
branches/version-2_4
bzr:root:
branches/version-2_4
bzr:text-parents:

data/class/SC_CheckError.php svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2:17727
bzr:timestamp:
2010-02-01 12:29:22.523999929 +0900
bzr:user-agent:
bzr2.0.3+bzr-svn1.0.1
svn:original-date:
2010-02-01T03:29:22.524000Z
Message:

merged r18466

  • 電話番号の桁数チェックが3項目個別に行われていて意味を成していない(#556)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4/data/class/SC_CheckError.php

    r17727 r18517  
    296296        } 
    297297 
     298        $total_count = 0; 
    298299        for($i = 1; $i <= 3; $i++) { 
    299300            if(strlen($this->arrParam[$value[$i]]) > 0 && strlen($this->arrParam[$value[$i]]) > $value[4]) { 
     
    302303                $this->arrErr[$value[$i]] .= "※ " . $value[0] . $i . "は数字で入力してください。<br />"; 
    303304            } 
     305            $total_count += strlen($this->arrParam[$value[$i]]); 
     306        } 
     307 
     308        // 合計値チェック 
     309        if ($total_count > TEL_LEN) { 
     310            $this->arrErr[$value[3]] .= "※ " . $value[0] . "は" . TEL_LEN . "文字以内で入力してください。<br />"; 
    304311        } 
    305312    } 
Note: See TracChangeset for help on using the changeset viewer.