Index: /temp/trunk/html/admin/products/product_class.php
===================================================================
--- /temp/trunk/html/admin/products/product_class.php	(revision 1328)
+++ /temp/trunk/html/admin/products/product_class.php	(revision 2016)
@@ -53,4 +53,5 @@
 	$where = "product_id = ? AND NOT(classcategory_id1 = 0 AND classcategory_id2 = 0) ";
 	$ret = $objQuery->count("dtb_products_class", $where, array($_POST['product_id']));
+	$objQuery->getlastquery(true);
 	
 	if($ret > 0) {
