Changeset 23531


Ignore:
Timestamp:
2014/06/05 23:08:00 (9 years ago)
Author:
shutta
Message:

#2575 SC_ChekError> EXIST_CHECK_REVERSEにて、エラー文に項目名を使用していない
項目名の方を使用するように修正。

Location:
branches/version-2_13-dev
Files:
2 edited

Legend:

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

    r23514 r23531  
    116116        // $this->createParam($value); 
    117117        if (strlen($this->arrParam[$value[0]]) == 0) { 
    118             $this->arrErr[$value[0]] = '※ ' . $value[0] . 'が入力されていません。<br />'; 
     118            $this->arrErr[$value[0]] = '※ ' . $value[1] . 'が入力されていません。<br />'; 
    119119        } 
    120120    } 
  • branches/version-2_13-dev/tests/class/SC_CheckError/SC_CheckError_EXIST_CHECK_REVERSETest.php

    r22857 r23531  
    4646        $objErr->doFunc(array('form', 'EXIST_CHECK_REVERSE') ,array('EXIST_CHECK_REVERSE')); 
    4747 
    48         $this->expected = '※ formが入力されていません。<br />'; 
     48        $this->expected = '※ EXIST_CHECK_REVERSEが入力されていません。<br />'; 
    4949        $this->actual = $objErr->arrErr['form']; 
    5050        $this->verify(''); 
     
    5757        $objErr->doFunc(array('form', 'EXIST_CHECK_REVERSE') ,array('EXIST_CHECK_REVERSE')); 
    5858 
    59         $this->expected = '※ formが入力されていません。<br />'; 
     59        $this->expected = '※ EXIST_CHECK_REVERSEが入力されていません。<br />'; 
    6060        $this->actual = $objErr->arrErr['form']; 
    6161        $this->verify(''); 
Note: See TracChangeset for help on using the changeset viewer.