Index: branches/version-2_13-dev/data/class/util/SC_Utils.php
===================================================================
--- branches/version-2_13-dev/data/class/util/SC_Utils.php	(revision 23281)
+++ branches/version-2_13-dev/data/class/util/SC_Utils.php	(revision 23340)
@@ -2031,5 +2031,5 @@
             if ($level + 1 < $max_depth) {
                 foreach ($target['children'] as &$child) {
-                    SC_Utils_Ex::addChild($child, $primary_key, $level++, $max_depth, $children);
+                    SC_Utils_Ex::addChild($child, $primary_key, $level+1, $max_depth, $children);
                 }
             }
@@ -2092,5 +2092,5 @@
         return array_reverse($arrTrail);
     }
-    
+
     /**
      * ベースとなるパスと相対パスを比較してファイルが存在する事をチェックする
@@ -2100,6 +2100,6 @@
      * @return bool true = exists / false does not exist
      */
-    public  function checkFileExistsWithInBasePath($file,$base_path) 
-    {  
+    public  function checkFileExistsWithInBasePath($file,$base_path)
+    {
         $arrPath = explode('/', str_replace('\\', '/',$file));
         $arrBasePath = explode('/', str_replace('\\', '/',$base_path));
