Changeset 21684 for branches/version-2_12-dev/data/class/pages/products
- Timestamp:
- 2012/03/26 21:44:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Detail.php
r21683 r21684 350 350 } 351 351 352 if (!SC_Utils_Ex::sfIsInt($product_id)352 if (!SC_Utils_Ex::sfIsInt($product_id) 353 353 || SC_Utils_Ex::sfIsZeroFilling($product_id) 354 || !SC_Helper_DB_Ex::sfIsRecord('dtb_products', 'product_id', (array)$product_id, $where)) 355 SC_Utils_Ex::sfDispSiteError(PRODUCT_NOT_FOUND); 354 || !SC_Helper_DB_Ex::sfIsRecord('dtb_products', 'product_id', (array)$product_id, $where) 355 ) { 356 SC_Utils_Ex::sfDispSiteError(PRODUCT_NOT_FOUND); 357 } 356 358 return $product_id; 357 359 }
Note: See TracChangeset
for help on using the changeset viewer.