Avoid deprecation warning when the task description is null
This commit is contained in:
@@ -49,7 +49,7 @@ class TextHelper extends Base
|
|||||||
$parser = new Markdown($this->container, $isPublicLink);
|
$parser = new Markdown($this->container, $isPublicLink);
|
||||||
$parser->setMarkupEscaped(MARKDOWN_ESCAPE_HTML);
|
$parser->setMarkupEscaped(MARKDOWN_ESCAPE_HTML);
|
||||||
$parser->setBreaksEnabled(true);
|
$parser->setBreaksEnabled(true);
|
||||||
return $parser->text($text);
|
return $parser->text($text ?: '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user