Differentiate between no description or an empty description

This commit is contained in:
Michael 2023-05-10 17:59:25 +00:00
parent 992b6eed1d
commit 2b3c1972db
2 changed files with 13 additions and 4 deletions

View file

@ -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");
}
/**