]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Minor update to the way Facebook app handles listing of friends you've invited.
authorZach Copley <zach@controlyourself.ca>
Sun, 8 Feb 2009 21:58:25 +0000 (21:58 +0000)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 9 Feb 2009 17:44:03 +0000 (12:44 -0500)
actions/facebookinvite.php

index 0d1cb8c4c7fd1fcbfa62504cd3cb74697875dd1d..1302064ad7fc6c8b33f540c3c8eb4df06beaccc3 100644 (file)
@@ -71,13 +71,13 @@ class FacebookinviteAction extends FacebookAction
             common_config('site', 'name')));
         $this->element('p', null, _('Invitations have been sent to the following users:'));
 
-        $friend_ids = $_POST['ids']; // XXX: Hmm... is this the best way to acces the list?
+        $friend_ids = $_POST['ids']; // XXX: Hmm... is this the best way to access the list?
 
         $this->elementStart('ul', array('id' => 'facebook-friends'));
 
         foreach ($friend_ids as $friend) {
             $this->elementStart('li');
-            $this->element('fb:profile-pic', array('uid' => $friend));
+            $this->element('fb:profile-pic', array('uid' => $friend, 'size' => 'square'));
             $this->element('fb:name', array('uid' => $friend,
                                             'capitalize' => 'true'));
             $this->elementEnd('li');