Changeset 9576 for temp/trunk/html


Ignore:
Timestamp:
2006/11/30 10:26:38 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/products/product.php

    r9575 r9576  
    348348         
    349349        // ¥³¥Ô¡¼¾¦Éʤξì¹ç¤Ë¤Ïµ¬³Ê¤â¥³¥Ô¡¼¤¹¤ë 
    350         sfprintr($_POST); 
    351350        if($_POST["copy_product_id"] != "" and sfIsInt($_POST["copy_product_id"])){ 
    352351            // dtb_products_class ¤Î¥«¥é¥à¤ò¼èÆÀ 
     
    358357            unset($arrColList[$arrColList_tmp["product_id"]]);           //¾¦ÉÊID 
    359358             
     359            $col = sfGetCommaList($arrColList); 
    360360             
    361             sfprintr($arrColList); 
    362             $col = sfGetCommaList($arrColList); 
     361            $objQuery->query("INSERT INTO dtb_products_class (product_id, ". $col .") SELECT ?, " . $col. " FROM dtb_products_class WHERE product_id = ? ORDER BY product_class_id", array($product_id, $_POST["copy_product_id"])); 
    363362        } 
    364363 
Note: See TracChangeset for help on using the changeset viewer.