mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
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:
commit
b0fe0663f1
@ -344,7 +344,9 @@ function TASKINFO:Report( Report, Detail, ReportGroup, Task )
|
|||||||
Text = DataText
|
Text = DataText
|
||||||
else
|
else
|
||||||
local DataText = Data.Data -- #string
|
local DataText = Data.Data -- #string
|
||||||
Text = DataText
|
if type(DataText) == "string" then --Issue #1388 - don't just assume this is a string
|
||||||
|
Text = DataText
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if Line < math.floor( Data.Order / 10 ) then
|
if Line < math.floor( Data.Order / 10 ) then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user