]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
'link' to 'links' in feed document
authorEvan Prodromou <evan@status.net>
Fri, 4 Mar 2011 21:09:59 +0000 (16:09 -0500)
committerEvan Prodromou <evan@status.net>
Fri, 4 Mar 2011 21:09:59 +0000 (16:09 -0500)
lib/activitystreamjsondocument.php

index 2b99d19eb76f27151c3fced17d7bca3b2416b78e..0c64ebb99880c3c7c0e112279d0389f90572602c 100644 (file)
@@ -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();
     }
 
     /*