mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Fix tests
This commit is contained in:
parent
c5ca5bfdf8
commit
3554b61508
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ class Images
|
|||
* @param string $preview Preview image URL
|
||||
* @param string $description
|
||||
* @return string
|
||||
*/ public static function getBBCodeByUrl(string $photo, string $preview = null, string $description = ''): string
|
||||
*/ public static function getBBCodeByUrl(string $photo, string $preview = null, string $description = null): string
|
||||
{
|
||||
if (!empty($preview)) {
|
||||
return '[url=' . $photo . '][img=' . $preview . ']' . $description . '[/img][/url]';
|
||||
|
|
Loading…
Reference in a new issue