Changeset 3360 for temp/trunk


Ignore:
Timestamp:
2006/08/30 23:50:50 (20 years ago)
Author:
naka
Message:

* empty log message *

Location:
temp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/lib/slib.php

    r3359 r3360  
    784784 
    785785// ¥«¥Æ¥´¥ê¥Ä¥ê¡¼¤Î¼èÆÀ¡Ê¿Æ¥«¥Æ¥´¥ê¤ÎValue:0) 
    786 function sfGetLevelCatList() { 
     786function sfGetLevelCatList($parent_zero = false) { 
    787787    $objQuery = new SC_Query(); 
    788788    $col = "category_id, category_name, level"; 
     
    795795        if($arrRet[$cnt]['level'] == LEVEL_MAX) { 
    796796            $arrValue[$cnt] = $arrRet[$cnt]['category_id']; 
     797        } else { 
     798            $arrValue[$cnt] = "";  
    797799        } 
    798800         
  • temp/trunk/html/admin/products/product.php

    r2706 r3360  
    232232     
    233233    // ¥«¥Æ¥´¥ê¤ÎÆÉ¹þ 
    234     list($objPage->arrCatVal, $objPage->arrCatOut) = sfGetLevelCatList(); 
     234    list($objPage->arrCatVal, $objPage->arrCatOut) = sfGetLevelCatList(false); 
    235235 
    236236    if($objPage->arrForm['status'] == "") { 
Note: See TracChangeset for help on using the changeset viewer.