'link' to 'links' in feed document

This commit is contained in:
Evan Prodromou 2011-03-04 16:09:59 -05:00
parent d55a831d97
commit 1c87e32cd1

View File

@ -127,7 +127,7 @@ class ActivityStreamJSONDocument
function addLink($url = null, $rel = null, $mediaType = null) function addLink($url = null, $rel = null, $mediaType = null)
{ {
$link = new ActivityStreamsLink($url, $rel, $mediaType); $link = new ActivityStreamsLink($url, $rel, $mediaType);
$this->doc['link'][] = $link->asArray(); $this->doc['links'][] = $link->asArray();
} }
/* /*