Changeset 16574


Ignore:
Timestamp:
2007/10/26 12:16:14 (14 years ago)
Author:
nanasess
Message:

カテゴリID の未定義チェック修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/products/LC_Page_Products_List.php

    r16560 r16574  
    7878        if (!isset($_GET['name'])) $_GET['name'] = ""; 
    7979        if (!isset($_POST['orderby'])) $_POST['orderby'] = ""; 
    80         if (empty($arrCategory_id)) $arrCategory_id = array(""); 
     80        if (empty($arrCategory_id)) $arrCategory_id = array("0"); 
    8181 
    8282        // タイトル編集 
     
    213213        $arrCategory_id = $objDb->sfGetCategoryId("", $_GET['category_id']); 
    214214 
     215 
    215216        // タイトル編集 
    216217        $tpl_subtitle = ""; 
     
    221222        if (!isset($_GET['name'])) $_GET['name'] = ""; 
    222223        if (!isset($_REQUEST['orderby'])) $_REQUEST['orderby'] = ""; 
     224        if (empty($arrCategory_id)) $arrCategory_id = array("0"); 
    223225 
    224226        if($_GET['mode'] == 'search'){ 
Note: See TracChangeset for help on using the changeset viewer.