Avoid error on empty content
This commit is contained in:
parent
88f147c6a7
commit
17ae9b71af
1 changed files with 1 additions and 1 deletions
|
@ -1287,7 +1287,7 @@ class BBCode
|
||||||
* @return string
|
* @return string
|
||||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||||
*/
|
*/
|
||||||
public static function convertForItem(int $uriid, string $text, int $simple_html = self::INTERNAL)
|
public static function convertForItem(int $uriid = 0, string $text = null, int $simple_html = self::INTERNAL)
|
||||||
{
|
{
|
||||||
$try_oembed = ($simple_html == self::INTERNAL);
|
$try_oembed = ($simple_html == self::INTERNAL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue