forked from GNUsocial/gnu-social
stupid mistake... let's not talk about this.
This commit is contained in:
parent
c30f95c55c
commit
09705a1e98
@ -292,7 +292,7 @@ class ApiAction extends Action
|
||||
|
||||
foreach ($attachments as $attachment) {
|
||||
$enclosure_o=$attachment->getEnclosure();
|
||||
if ($attachment_enclosure) {
|
||||
if ($enclosure_o) {
|
||||
$enclosure = array();
|
||||
$enclosure['url'] = $enclosure_o->url;
|
||||
$enclosure['mimetype'] = $enclosure_o->mimetype;
|
||||
|
Loading…
Reference in New Issue
Block a user