Ignore:
Timestamp:
2014/02/06 10:34:31 (10 years ago)
Author:
kimoto
Message:

#2501 演算子の使い方の間違いを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/util/SC_Utils.php

    r23281 r23340  
    20312031            if ($level + 1 < $max_depth) { 
    20322032                foreach ($target['children'] as &$child) { 
    2033                     SC_Utils_Ex::addChild($child, $primary_key, $level++, $max_depth, $children); 
     2033                    SC_Utils_Ex::addChild($child, $primary_key, $level+1, $max_depth, $children); 
    20342034                } 
    20352035            } 
     
    20922092        return array_reverse($arrTrail); 
    20932093    } 
    2094      
     2094 
    20952095    /** 
    20962096     * ベースとなるパスと相対パスを比較してファイルが存在する事をチェックする 
     
    21002100     * @return bool true = exists / false does not exist 
    21012101     */ 
    2102     public  function checkFileExistsWithInBasePath($file,$base_path)  
    2103     {   
     2102    public  function checkFileExistsWithInBasePath($file,$base_path) 
     2103    { 
    21042104        $arrPath = explode('/', str_replace('\\', '/',$file)); 
    21052105        $arrBasePath = explode('/', str_replace('\\', '/',$base_path)); 
Note: See TracChangeset for help on using the changeset viewer.