mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 20:04:32 +02:00
Update src/Content/Post/Repository/PostMedia.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
71bef03316
commit
2c87e7e102
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class PostMedia extends BaseRepository
|
|||
|
||||
public function selectOneById(int $postMediaId): PostMediaEntity
|
||||
{
|
||||
$fields = $this->_selectFirstRowAsArray( ['id' => $postMediaId]);
|
||||
$fields = $this->_selectFirstRowAsArray(['id' => $postMediaId]);
|
||||
|
||||
return $this->factory->createFromTableRow($fields);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue