Index: temp/trunk/data/class/SC_DbConn.php
===================================================================
--- temp/trunk/data/class/SC_DbConn.php	(revision 4776)
+++ temp/trunk/data/class/SC_DbConn.php	(revision 4777)
@@ -63,6 +63,4 @@
 		}
 		$this->result = $result;
-		
-		$this->conn->getlastquery();
 		
 		return $this->result;
Index: temp/trunk/html/admin/products/product_class.php
===================================================================
--- temp/trunk/html/admin/products/product_class.php	(revision 3493)
+++ temp/trunk/html/admin/products/product_class.php	(revision 4777)
@@ -206,4 +206,6 @@
 	}
 	
+	$objQuery->getlastquery();
+	
 	$max = count($arrRet);
 	
