Changeset 15871


Ignore:
Timestamp:
2007/09/21 20:12:43 (17 years ago)
Author:
nanasess
Message:

未定義変数チェックの関数で, 配列の添字をチェックするように修正

File:
1 edited

Legend:

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

    r15719 r15871  
    918918    function createParam($value) { 
    919919        foreach ($value as $key) { 
    920             if (!isset($this->arrParam[$key])) $this->arrParam[$key] = ""; 
     920            if (is_string($key) || is_int($key)) { 
     921                if (empty($this->arrParam[$key]))  $this->arrParam[$key] = ""; 
     922            } 
    921923        } 
    922924    } 
Note: See TracChangeset for help on using the changeset viewer.