Changeset 21441 for branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_SearchProducts.php
- Timestamp:
- 2012/02/06 11:05:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_SearchProducts.php
r21420 r21441 94 94 function lfGetProductId() { 95 95 $product_id = ''; 96 if ( 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 ( 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 ( 122 if (isset($_GET['maker_id']) && $_GET['maker_id'] != '' && is_numeric($_GET['maker_id']) ) { 123 123 $maker_id = $_GET['maker_id']; 124 124 } … … 161 161 if (is_array($arrCategoryList)) { 162 162 // 文字サイズを制限する 163 foreach ($arrCategoryList as $key => $val) {163 foreach ($arrCategoryList as $key => $val) { 164 164 $truncate_str = SC_Utils_Ex::sfCutString($val, SEARCH_CATEGORY_LEN, false); 165 165 $arrCategoryList[$key] = preg_replace('/ /u', " ", $truncate_str); … … 180 180 if (is_array($arrMakerList)) { 181 181 // 文字サイズを制限する 182 foreach ($arrMakerList as $key => $val) {182 foreach ($arrMakerList as $key => $val) { 183 183 $arrMakerList[$key] = SC_Utils_Ex::sfCutString($val, SEARCH_CATEGORY_LEN, false); 184 184 }
Note: See TracChangeset
for help on using the changeset viewer.