kopia lustrzana https://github.com/friendica/friendica
Avoid error on empty content
rodzic
88f147c6a7
commit
17ae9b71af
|
@ -1287,7 +1287,7 @@ class BBCode
|
|||
* @return string
|
||||
* @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);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue