diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-01-22 10:40:21 -0500 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-03-03 09:52:24 -0800 |
commit | b1e172a3d9bdeb8f9b7a5559d45b843245a1a3b0 (patch) | |
tree | d2bb370cafcc9d0cff01f8a5707ad2ccaf67764b | |
parent | 8a3f27ac9102029f7c8b8eb44431e1df4d82a9b9 (diff) |
stupid mistake... let's not talk about this.
-rw-r--r-- | lib/apiaction.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/apiaction.php b/lib/apiaction.php index f7b4ef473..9bfca3b66 100644 --- a/lib/apiaction.php +++ b/lib/apiaction.php @@ -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; |