Ignore:
Timestamp:
2012/06/20 11:57:43 (10 years ago)
Author:
pineray
Message:

#1669 #1859 初期化漏れ、無駄な変数等

File:
1 edited

Legend:

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

    r21867 r21927  
    9696    function lfMobileConvertInputValue(&$value) { 
    9797        if (is_array($value)) { 
    98             foreach ($value as $key => $val) { 
     98            foreach (array_keys($value) as $key) { 
    9999                $this->lfMobileConvertInputValue($value[$key]); 
    100100            } 
     
    126126     */ 
    127127    function lfMobileGetExtSessionId() { 
    128         if (!preg_match('|^' . ROOT_URLPATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches)) { 
     128        if (!preg_match('|^' . ROOT_URLPATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches = array())) { 
    129129            return null; 
    130130        } 
Note: See TracChangeset for help on using the changeset viewer.