Changeset 21898


Ignore:
Timestamp:
2012/06/08 00:24:07 (12 years ago)
Author:
shutta
Message:

#1854 (商品に1つだけ規格を設定した時、商品登録画面の項目がおかしい)
r21897 の修正を、元の式(比較)に近い形に調整。

File:
1 edited

Legend:

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

    r21897 r21898  
    14011401 
    14021402        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    1403         $where = 'product_id = ? AND del_flg = 0 AND (classcategory_id1 > 0 OR 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.