Ignore:
Timestamp:
2013/05/19 20:34:20 (13 years ago)
Author:
Seasoft
Message:

#2248 (PHP 警告撲滅 for 2.13.0)

File:
1 edited

Legend:

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

    r22786 r22823  
    162162    { 
    163163        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     164 
    164165        $table = <<< __EOF__ 
    165166        dtb_blocposition AS pos 
     
    174175            $this->setBlocPathTo($device_type_id, $arrBlocs); 
    175176        } 
    176          
     177 
    177178        //全ページ設定と各ページのブロックの重複を削除 
     179        $arrUniqBlocIds = array(); 
    178180        foreach ($arrBlocs as $index => $arrBloc) { 
    179             if($arrBloc['anywhere'] == 1){ 
     181            if ($arrBloc['anywhere'] == 1){ 
    180182                $arrUniqBlocIds[] = $arrBloc['bloc_id']; 
    181183            } 
    182184        } 
    183185        foreach ($arrBlocs as $bloc_index => $arrBlocData) { 
    184             if(in_array($arrBlocData['bloc_id'], $arrUniqBlocIds) && $arrBlocData['anywhere'] == 0){ 
     186            if (in_array($arrBlocData['bloc_id'], $arrUniqBlocIds) && $arrBlocData['anywhere'] == 0){ 
    185187                unset($arrBlocs[$bloc_index]); 
    186188            } 
    187189        } 
     190 
    188191        return $arrBlocs; 
    189192    } 
Note: See TracChangeset for help on using the changeset viewer.