mirror of
https://github.com/friendica/friendica
synced 2025-05-14 07:44:10 +02:00
Differentiate between no description or an empty description
This commit is contained in:
parent
992b6eed1d
commit
2b3c1972db
2 changed files with 13 additions and 4 deletions
|
@ -179,7 +179,7 @@ class Upload extends \Friendica\BaseModule
|
|||
}
|
||||
|
||||
$this->logger->info('upload done');
|
||||
$this->return(200, "\n\n" . Images::getBBCodeByResource($resource_id, $owner['nickname'], $preview, $image->getExt()) . "\n\n");
|
||||
$this->return(200, "\n\n" . Images::getBBCodeByResource($resource_id, $owner['nickname'], $preview, $image->getExt(), '') . "\n\n");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue