Changeset 21897


Ignore:
Timestamp:
2012/06/08 00:08:11 (9 years ago)
Author:
shutta
Message:

#1854 (商品に1つだけ規格を設定した時、商品登録画面の項目がおかしい)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_DB.php

    r21867 r21897  
    14011401 
    14021402        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    1403         $where = 'product_id = ? AND del_flg = 0 AND classcategory_id1 != 0 AND classcategory_id2 != 0'; 
     1403        $where = 'product_id = ? AND del_flg = 0 AND (classcategory_id1 > 0 OR classcategory_id2 > 0)'; 
    14041404        $exists = $objQuery->exists('dtb_products_class', $where, array($product_id)); 
    14051405 
Note: See TracChangeset for help on using the changeset viewer.