Changeset 21442 for branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_SearchProducts.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_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.