]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/twitapifriendships.php
Ticket #1196 - Fixed: Warning on invite tab in Facebook App
[quix0rs-gnu-social.git] / actions / twitapifriendships.php
index c50c5e84a9dcc948682e80d55c0a26641a726dd6..2f8250e0dc9dfa56b55893b436a15838c8a9b39a 100644 (file)
@@ -133,11 +133,7 @@ class TwitapifriendshipsAction extends TwitterapiAction
             return;
         }
 
-        if ($user_a->isSubscribed($user_b)) {
-            $result = 'true';
-        } else {
-            $result = 'false';
-        }
+        $result = $user_a->isSubscribed($user_b);
 
         switch ($apidata['content-type']) {
          case 'xml':