Avoid deprecation warning when the task description is null
This commit is contained in:
parent
1664f4c304
commit
669b5c7e2e
|
|
@ -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 ?: '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue