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