Index: temp/trunk/html/admin/mail/index.php
===================================================================
--- temp/trunk/html/admin/mail/index.php	(revision 5002)
+++ temp/trunk/html/admin/mail/index.php	(revision 5178)
@@ -388,5 +388,5 @@
 	$arrData['body'] = "";
 	$dtb_send_history["search_data"] = serialize($arrData);
-	$conn->autoExecute("dtb_send_history", $dtb_send_history );	
+	$objQuery->insert("dtb_send_history", $dtb_send_history );	
 	
 	if ( is_array( $search_data ) ){
Index: temp/trunk/data/lib/slib.php
===================================================================
--- temp/trunk/data/lib/slib.php	(revision 5177)
+++ temp/trunk/data/lib/slib.php	(revision 5178)
@@ -1560,6 +1560,4 @@
 	$sqlval['update_date'] = "now()";
 	$objQuery->insert("dtb_mail_history", $sqlval);
-	$objQuery->getlastquery();
-	exit;
 }
 
