mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 17:14:26 +02:00
Exception handling added
This commit is contained in:
parent
0df88fd5a0
commit
914d4506e2
2 changed files with 6 additions and 2 deletions
|
@ -49,7 +49,7 @@ class PostMedia extends BaseFactory implements ICanCreateFromTableRow
|
|||
{
|
||||
return new Entity\PostMedia(
|
||||
$row['uri-id'],
|
||||
UtilNetwork::createUriFromString($row['url']) ?: '',
|
||||
UtilNetwork::createUriFromString($row['url']),
|
||||
$row['type'],
|
||||
$this->mimeTypeFactory->createFromContentType($row['mimetype']),
|
||||
$row['media-uri-id'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue