stupid mistake... let's not talk about this.

This commit is contained in:
Craig Andrews 2010-01-22 10:40:21 -05:00 committed by Zach Copley
parent 8a3f27ac91
commit b1e172a3d9

View File

@ -290,7 +290,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;