Index: temp/trunk/html/admin/contents/recommend.php
===================================================================
--- temp/trunk/html/admin/contents/recommend.php	(revision 8387)
+++ temp/trunk/html/admin/contents/recommend.php	(revision 8388)
@@ -48,6 +48,6 @@
 	if ( ! $objPage->arrErr[$objPage->arrForm['rank']]) {
 		// ¸Å¤¤¤Î¤ò¾Ã¤¹
-		$sql = "DELETE FROM dtb_best_products WHERE category_id = ? AND rank = ?";
-		$conn->query($sql, array($objPage->arrForm['category_id'] ,$objPage->arrForm['rank']));
+		$sql = "DELETE FROM dtb_best_products WHERE product_id = ?";
+		$conn->query($sql, array($objPage->arrForm['product_id']));
 	
 		// £Ä£ÂÅÐÏ¿
@@ -62,6 +62,6 @@
 // ºï½ü»þ
 
-	$sql = "DELETE FROM dtb_best_products WHERE category_id = ? AND rank = ?";
-	$conn->query($sql, array($_POST['category_id'] ,$_POST['rank']));
+	$sql = "DELETE FROM dtb_best_products WHERE product_id = ?";
+	$conn->query($sql, array($_POST['product_id']));
 	
 }
