- Timestamp:
- 2011/12/26 17:11:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/pages/products/LC_Page_Products_Detail.php
r21325 r21376 541 541 } else { 542 542 $objQuery =& SC_Query_Ex::getSingletonInstance(); 543 $ count = $objQuery->count("dtb_customer_favorite_products", "customer_id = ? AND product_id = ?", array($customer_id, $favorite_product_id));544 545 if ( $count == 0) {543 $exists = $objQuery->exists("dtb_customer_favorite_products", "customer_id = ? AND product_id = ?", array($customer_id, $favorite_product_id)); 544 545 if (!$exists) { 546 546 $sqlval['customer_id'] = $customer_id; 547 547 $sqlval['product_id'] = $favorite_product_id;
Note: See TracChangeset
for help on using the changeset viewer.