From 1bd5193786760a838a9134bc39b639b23005f272 Mon Sep 17 00:00:00 2001 From: Applevangelist <72444570+Applevangelist@users.noreply.github.com> Date: Tue, 1 Dec 2020 16:10:55 +0100 Subject: [PATCH] Taskinfo.lua - Issue #1388 - don't just assume this is a string fixes the catchall at the end in case a task is unassigned - sometimes it's not a string. #1388 --- Moose Development/Moose/Tasking/TaskInfo.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Moose Development/Moose/Tasking/TaskInfo.lua b/Moose Development/Moose/Tasking/TaskInfo.lua index 5ece5f005..8d825e309 100644 --- a/Moose Development/Moose/Tasking/TaskInfo.lua +++ b/Moose Development/Moose/Tasking/TaskInfo.lua @@ -344,7 +344,9 @@ function TASKINFO:Report( Report, Detail, ReportGroup, Task ) Text = DataText else 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 if Line < math.floor( Data.Order / 10 ) then