Merge pull request #1389 from Applevangelist/patch-14

Taskinfo.lua - Issue #1388 - don't just assume this is a string
This commit is contained in:
Frank 2020-12-01 18:07:40 +01:00 committed by GitHub
commit b0fe0663f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -344,8 +344,10 @@ function TASKINFO:Report( Report, Detail, ReportGroup, Task )
Text = DataText Text = DataText
else else
local DataText = Data.Data -- #string local DataText = Data.Data -- #string
if type(DataText) == "string" then --Issue #1388 - don't just assume this is a string
Text = DataText Text = DataText
end end
end
if Line < math.floor( Data.Order / 10 ) then if Line < math.floor( Data.Order / 10 ) then
if Line == 0 then if Line == 0 then