Avoid deprecation warning when the task description is null

This commit is contained in:
Frédéric Guillot 2022-10-09 15:44:25 -07:00
parent 1664f4c304
commit 669b5c7e2e
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class TextHelper extends Base
$parser = new Markdown($this->container, $isPublicLink);
$parser->setMarkupEscaped(MARKDOWN_ESCAPE_HTML);
$parser->setBreaksEnabled(true);
return $parser->text($text);
return $parser->text($text ?: '');
}
/**