Ignore:
Timestamp:
2007/08/22 17:10:08 (17 years ago)
Author:
nanasess
Message:

未定義変数を修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/util/SC_Utils.php

    r15318 r15340  
    453453        } 
    454454        for($i = 1; $i <= $max; $i++) { 
    455             if($arrTmp[$i] == "1") { 
     455            if(isset($arrTmp) && $arrTmp[$i] == "1") { 
    456456                $ret.= "1"; 
    457457            } else { 
     
    506506    // 2進数形式の値をhtml_checkboxes対応の値に切り替える 
    507507    function sfSplitCheckBoxes($val) { 
     508        $arrRet = array(); 
    508509        $len = strlen($val); 
    509510        for($i = 0; $i < $len; $i++) { 
Note: See TracChangeset for help on using the changeset viewer.