* Fix child task export name.

This commit is contained in:
Yagami
2018-10-29 10:08:03 +08:00
parent 57a736820d
commit 30c66ff864
+1 -1
View File
@@ -1394,7 +1394,7 @@ class task extends control
if(isset($users[$task->closedBy])) $task->closedBy = $users[$task->closedBy];
if(isset($users[$task->lastEditedBy])) $task->lastEditedBy = $users[$task->lastEditedBy];
if($task->parent > 0) $task->name = '>' . $task->name;
if($task->parent > 0 && strpos($task->name, htmlentities('>')) !== 0) $task->name = '>' . $task->name;
if(!empty($task->team)) $task->name = '[' . $taskLang->multipleAB . '] ' . $task->name;
$task->openedDate = substr($task->openedDate, 0, 10);