From 1c87e32cd14122eb7b7cdf2f275f77b71e787383 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 4 Mar 2011 16:09:59 -0500 Subject: [PATCH] 'link' to 'links' in feed document --- lib/activitystreamjsondocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/activitystreamjsondocument.php b/lib/activitystreamjsondocument.php index 2b99d19eb7..0c64ebb998 100644 --- a/lib/activitystreamjsondocument.php +++ b/lib/activitystreamjsondocument.php @@ -127,7 +127,7 @@ class ActivityStreamJSONDocument function addLink($url = null, $rel = null, $mediaType = null) { $link = new ActivityStreamsLink($url, $rel, $mediaType); - $this->doc['link'][] = $link->asArray(); + $this->doc['links'][] = $link->asArray(); } /* -- 2.39.5