Changeset 21442 for branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Category.php
- Timestamp:
- 2012/02/06 11:27:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Category.php
r21441 r21442 63 63 function action() { 64 64 // モバイル判定 65 switch (SC_Display_Ex::detectDevice() 65 switch (SC_Display_Ex::detectDevice()) { 66 66 case DEVICE_TYPE_MOBILE: 67 67 // メインカテゴリの取得 … … 95 95 // 商品ID取得 96 96 $product_id = ''; 97 if (isset($arrRequest['product_id']) && $arrRequest['product_id'] != '' && is_numeric($arrRequest['product_id']) 97 if (isset($arrRequest['product_id']) && $arrRequest['product_id'] != '' && is_numeric($arrRequest['product_id'])) { 98 98 $product_id = $arrRequest['product_id']; 99 99 } 100 100 // カテゴリID取得 101 101 $category_id = ''; 102 if (isset($arrRequest['category_id']) && $arrRequest['category_id'] != '' && is_numeric($arrRequest['category_id']) 102 if (isset($arrRequest['category_id']) && $arrRequest['category_id'] != '' && is_numeric($arrRequest['category_id'])) { 103 103 $category_id = $arrRequest['category_id']; 104 104 }
Note: See TracChangeset
for help on using the changeset viewer.