Ignore:
Timestamp:
2006/12/18 20:31:13 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/html/admin/contents/campaign_create_tag.php

    r10936 r10937  
    6161                $where.= $tmp_where . " )"; 
    6262                break; 
    63             case 'search_product_code': 
    64                 $where .= " AND product_id IN (SELECT product_id FROM dtb_products_class WHERE product_code LIKE ? GROUP BY product_id)"; 
    65                 $where .= " OR product_code ILIKE ?"; 
    66                 $arrval[] = "%$val%"; 
    67                 $arrval[] = "%$val%"; 
     63            case 'search_product_id': 
     64                if($val != "") { 
     65                    $where .= " AND product_id = ?"; 
     66                    $arrval[] = $val; 
     67                } 
    6868                break; 
    6969            default: 
Note: See TracChangeset for help on using the changeset viewer.