Ignore:
Timestamp:
2012/03/26 21:44:52 (12 years ago)
Author:
Seasoft
Message:

#1613 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Detail.php

    r21683 r21684  
    350350        } 
    351351 
    352         if(!SC_Utils_Ex::sfIsInt($product_id) 
     352        if (!SC_Utils_Ex::sfIsInt($product_id) 
    353353            || 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        } 
    356358        return $product_id; 
    357359    } 
Note: See TracChangeset for help on using the changeset viewer.