Changeset 9579 for temp/trunk/html/admin
- Timestamp:
- 2006/11/30 10:32:45 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/products/product.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/products/product.php
r9576 r9579 352 352 $arrColList = sfGetColumnList("dtb_products_class", $objQuery); 353 353 $arrColList_tmp = array_flip($arrColList); 354 354 355 355 // ¥³¥Ô¡¼¤·¤Ê¤¤Îó 356 356 unset($arrColList[$arrColList_tmp["product_class_id"]]); //µ¬³ÊID 357 357 unset($arrColList[$arrColList_tmp["product_id"]]); //¾¦ÉÊID 358 358 359 359 $col = sfGetCommaList($arrColList); 360 360 361 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"])); 362 362 }
Note: See TracChangeset
for help on using the changeset viewer.
