Ignore:
Timestamp:
2008/04/24 16:15:45 (16 years ago)
Author:
shutta
Message:

fix for 286

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/helper/SC_Helper_DB.php

    r17263 r17283  
    693693            $id = $arrRet[$cnt]['category_id']; 
    694694            $name = $arrRet[$cnt]['category_name']; 
    695             $arrList[$id] = ""; 
    696             /* 
    697             for($n = 1; $n < $arrRet[$cnt]['level']; $n++) { 
    698                 $arrList[$id].= " "; 
    699             } 
    700             */ 
    701             for($cat_cnt = 0; $cat_cnt < $arrRet[$cnt]['level']; $cat_cnt++) { 
    702                 $arrList[$id].= $head; 
    703             } 
    704             $arrList[$id].= $name; 
     695            $arrList[$id] = str_repeat($head, $arrRet[$cnt]['level']) . $name; 
    705696        } 
    706697        return $arrList; 
Note: See TracChangeset for help on using the changeset viewer.