summaryrefslogtreecommitdiff
path: root/actions/twitapistatuses.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-10-11 13:21:18 -0400
committerCraig Andrews <candrews@integralblue.com>2009-10-11 13:21:18 -0400
commit006cfc528edab32548d1265df5dada09a1536aed (patch)
tree474dc49eed8ff3542e6d2c8154e14fa4b8432ada /actions/twitapistatuses.php
parent6f12ed5f91b2ffa949fcff5c9bbb1f0da8d727b1 (diff)
parent838c13063a8371b858a249b3bc511b2b77ce1c5f (diff)
Merge commit 'refs/merge-requests/1723' of git://gitorious.org/statusnet/mainline into 0.8.x
Diffstat (limited to 'actions/twitapistatuses.php')
-rw-r--r--actions/twitapistatuses.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index 41887a68f..360dff27c 100644
--- a/actions/twitapistatuses.php
+++ b/actions/twitapistatuses.php
@@ -454,7 +454,7 @@ class TwitapistatusesAction extends TwitterapiAction
function friends($args, $apidata)
{
parent::handle($args);
- $includeStatuses=! (boolean) $args['lite'];
+ $includeStatuses= !(array_key_exists('lite', $args) and $args['lite']);
return $this->subscriptions($apidata, 'subscribed', 'subscriber', false, $includeStatuses);
}
@@ -467,7 +467,7 @@ class TwitapistatusesAction extends TwitterapiAction
function followers($args, $apidata)
{
parent::handle($args);
- $includeStatuses=! (boolean) $args['lite'];
+ $includeStatuses= !(array_key_exists('lite', $args) and $args['lite']);
return $this->subscriptions($apidata, 'subscriber', 'subscribed', false, $includeStatuses);
}