Index: /branches/dev/html/admin/mail/index.php
===================================================================
--- /branches/dev/html/admin/mail/index.php	(revision 13589)
+++ /branches/dev/html/admin/mail/index.php	(revision 13590)
@@ -410,5 +410,5 @@
     $objQuery->insert("dtb_send_history", $dtb_send_history );
     if(DB_TYPE == "mysql"){
-        $dtb_send_history["send_id"] = $objQuery->get_auto_increment('dtb_send_history');
+        $dtb_send_history["send_id"] = $objQuery->nextval('dtb_send_history');
     }
     
