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