summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-01-22 10:40:21 -0500
committerZach Copley <zach@status.net>2010-03-02 14:25:27 -0800
commit09705a1e989d202859d637f8a84383f365b7906a (patch)
tree995d108d532f9ba3a68c76b527ff8bd9bda646b6
parentc30f95c55cb4fcdde53c0549335d29ed6849cf95 (diff)
stupid mistake... let's not talk about this.
-rw-r--r--lib/apiaction.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/apiaction.php b/lib/apiaction.php
index f71432e03..eef0ba637 100644
--- a/lib/apiaction.php
+++ b/lib/apiaction.php
@@ -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;