Changeset 21442 for branches/version-2_12-dev/data/class/pages/frontparts
- Timestamp:
- 2012/02/06 11:27:03 (12 years ago)
- Location:
- branches/version-2_12-dev/data/class/pages/frontparts/bloc
- Files:
-
- 2 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 } -
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_SearchProducts.php
r21441 r21442 94 94 function lfGetProductId() { 95 95 $product_id = ''; 96 if (isset($_GET['product_id']) && $_GET['product_id'] != '' && is_numeric($_GET['product_id']) 96 if (isset($_GET['product_id']) && $_GET['product_id'] != '' && is_numeric($_GET['product_id'])) { 97 97 $product_id = $_GET['product_id']; 98 98 } … … 107 107 function lfGetCategoryId() { 108 108 $category_id = ''; 109 if (isset($_GET['category_id']) && $_GET['category_id'] != '' && is_numeric($_GET['category_id']) 109 if (isset($_GET['category_id']) && $_GET['category_id'] != '' && is_numeric($_GET['category_id'])) { 110 110 $category_id = $_GET['category_id']; 111 111 } … … 120 120 function lfGetMakerId() { 121 121 $maker_id = ''; 122 if (isset($_GET['maker_id']) && $_GET['maker_id'] != '' && is_numeric($_GET['maker_id']) 122 if (isset($_GET['maker_id']) && $_GET['maker_id'] != '' && is_numeric($_GET['maker_id'])) { 123 123 $maker_id = $_GET['maker_id']; 124 124 }
Note: See TracChangeset
for help on using the changeset viewer.