Changeset 17534


Ignore:
Timestamp:
2008/08/13 20:44:06 (13 years ago)
Author:
adachi
Message:

zaikorobot1.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-1/data/downloads/module/mdl_zaikorobot/mdl_zaikorobot.inc

    r17531 r17534  
    7878        foreach($_POST['product'] as $key => $val) { 
    7979            $table = "dtb_products_class"; 
    80             $where = "product_id = ? AND product_code = ?"; 
     80            $where = "product_code = ?"; 
    8181            $arrval = array(); 
    82             $arrval[] = empty($val['product_id']) ? "0" : $val['product_id']; 
    8382            $arrval[] = empty($val['product_code']) ? "0" : $val['product_code']; 
    8483            // ºß¸Ë¹¹¿· 
     
    9089                $cnt++; 
    9190                if ($cnt == "1") $mes = "NG\n"; 
    92                 $mes .= "no_product(product_id=". $arrval[0]. ",product_code=". $arrval[1]. ")\n"; 
     91                $mes .= "no_product(product_code=". $arrval[1]. ")\n"; 
    9392            } 
    9493        } 
Note: See TracChangeset for help on using the changeset viewer.