mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Fixes:
"Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of the type string, null given, called in /var/www/.../htdocs/mod/display.php on line 305"
This commit is contained in:
parent
e6ed8f6315
commit
ba33c95e97
2 changed files with 1 additions and 3 deletions
|
@ -424,7 +424,6 @@ class BBCode
|
|||
*
|
||||
* @param string $body
|
||||
* @param boolean $no_link_desc No link description
|
||||
*
|
||||
* @return string with replaced body
|
||||
*/
|
||||
public static function removeAttachment(string $body, bool $no_link_desc = false): string
|
||||
|
@ -449,7 +448,6 @@ class BBCode
|
|||
*
|
||||
* @param string $text
|
||||
* @param bool $keep_urls Whether to keep URLs in the resulting plaintext
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function toPlaintext(string $text, bool $keep_urls = true): string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue