Changeset 21985


Ignore:
Timestamp:
2012/08/02 15:20:43 (8 years ago)
Author:
h_yoshimoto
Message:

refs #1908 Warningが出ないように修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_Transform.php

    r21887 r21985  
    553553     */ 
    554554    protected function lfAddElement($elementNo, array &$arrElement) { 
    555         if (!array_key_exists($arrElement[0], $this->arrSelectElements[$this->search_depth])) { 
     555        if(is_array($this->arrSelectElements[$this->search_depth]) && array_key_exists($arrElement[0], $this->arrSelectElements[$this->search_depth])) { 
     556            //nop 
     557        } else { 
    556558            $this->arrSelectElements[$this->search_depth][$arrElement[0]] = array($elementNo, &$arrElement[1]); 
    557559        } 
     560         
    558561    } 
    559562 
Note: See TracChangeset for help on using the changeset viewer.