]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
Task-create functions does now return a task id. We use that to help registering...
[mailer.git] / inc / mysql-manager.php
index 559361db9299319e28dc91a10fc0bf390e66ba3e..16211103a2763161acb911d6ab36d7007a48156b 100644 (file)
@@ -2142,6 +2142,9 @@ function createNewTask ($subject, $notes, $taskType, $userid = '0', $adminId = '
                        $subject,
                        $notes
                ), __FUNCTION__, __LINE__, true, $strip);
+
+       // Return insert id which is the task id
+       return SQL_INSERTID();
 }
 
 // Updates last module / online time