- Timestamp:
- 2009/06/28 19:24:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/products/LC_Page_Products_CategoryList.php
r16582 r18142 70 70 */ 71 71 function mobileProcess() { 72 // カテゴリIDの正当性チェック 73 $this->lfCheckCategoryId(); 74 72 75 $objView = new SC_MobileView(); 73 76 … … 90 93 function destroy() { 91 94 parent::destroy(); 95 } 96 97 /* カテゴリIDの正当性チェック */ 98 function lfCheckCategoryId() { 99 $objDb = new SC_Helper_DB_Ex(); 100 $category_id = $_POST['category_id'] ? $_POST['category_id'] : $_GET['category_id']; 101 if (!defined('MOBILE_SITE') && !isset($_REQUEST['category_id'])) 102 SC_Utils_Ex::sfDispSiteError(CATEGORY_NOT_FOUND); 103 if ($category_id 104 && (!SC_Utils_Ex::sfIsInt($category_id) 105 || SC_Utils_Ex::sfIsZeroFilling($category_id) 106 || !$objDb->sfIsRecord('dtb_category', 'category_id', (array)$category_id, 'del_flg = 0'))) 107 SC_Utils_Ex::sfDispSiteError(CATEGORY_NOT_FOUND); 92 108 } 93 109
Note: See TracChangeset
for help on using the changeset viewer.