Commit 1c87e32c authored by Evan Prodromou's avatar Evan Prodromou

'link' to 'links' in feed document

parent d55a831d
...@@ -127,7 +127,7 @@ class ActivityStreamJSONDocument ...@@ -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();
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment