diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/feeditem/json.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/feeditem/json.php b/classes/feeditem/json.php index c9ecd59e4..be41edb38 100644 --- a/classes/feeditem/json.php +++ b/classes/feeditem/json.php @@ -73,9 +73,9 @@ class FeedItem_Json extends FeedItem_Common { $enc = new FeedEnclosure(); - $enc->type = $enclosure["mime_type"]; - $enc->link = $enclosure["url"]; - @$enc->length = $enclosure["size_in_bytes"]; + $enc->type = $enclosure->mime_type; + $enc->link = $enclosure->url; + @$enc->length = $enclosure->size_in_bytes; array_push($encs, $enc); @@ -85,4 +85,4 @@ class FeedItem_Json extends FeedItem_Common { return $encs; } -}
\ No newline at end of file +} |