Index: temp/trunk/html/admin/mail/index.php
===================================================================
--- temp/trunk/html/admin/mail/index.php	(revision 5934)
+++ temp/trunk/html/admin/mail/index.php	(revision 5938)
@@ -396,4 +396,6 @@
 	$objQuery->insert("dtb_send_history", $dtb_send_history );	
 	
+	$objQuery->getlastquery();
+	
 	if ( is_array( $search_data ) ){
 		foreach( $search_data as $line ){
