mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
check exported profile photo isn't empty
This commit is contained in:
parent
7c220440c4
commit
ebdfd2abde
1 changed files with 1 additions and 1 deletions
|
@ -979,7 +979,7 @@ class Channel
|
|||
intval($channel_id)
|
||||
);
|
||||
|
||||
if ($r) {
|
||||
if ($r && $r[0]['content']) {
|
||||
$ret['photo'] = [
|
||||
'type' => $r[0]['mimetype'],
|
||||
'data' => (($r[0]['os_storage'])
|
||||
|
|
Loading…
Reference in a new issue