mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-22 16:38:28 +00:00
Correct the primary key of v_fax_tasks table. Coding standards require primary key to remove v_ prefix, singular form and add a _uuid postfix. Result is task_uuid has been changed to fax_task_uuid.
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
local Settings = require "resources.functions.lazy_settings"
|
||||
local Tasks = require "fax_queue.tasks"
|
||||
|
||||
local task_uuid = env:getHeader('task_uuid')
|
||||
local task = Tasks.select_task(task_uuid)
|
||||
local fax_task_uuid = env:getHeader('fax_task_uuid')
|
||||
local task = Tasks.select_task(fax_task_uuid)
|
||||
if not task then
|
||||
log.warningf("Can not find fax task: %q", tostring(task_uuid))
|
||||
log.warningf("Can not find fax task: %q", tostring(fax_task_uuid))
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user