diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-10-11 13:39:10 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-10-11 13:39:10 -0400 |
commit | f719720e8ad3b09d664e33172bafef2b0fb91eea (patch) | |
tree | ef260a2b132405013025f61930c3850f498318c9 /actions | |
parent | 96d32fb8d0752c13cb1a768a3e4c3ad36a4a0188 (diff) | |
parent | 006cfc528edab32548d1265df5dada09a1536aed (diff) |
Merge remote branch 'statusnet/0.8.x' into 0.9.x
Conflicts:
lib/common.php
Diffstat (limited to 'actions')
-rw-r--r-- | actions/groupsearch.php | 2 | ||||
-rw-r--r-- | actions/twitapistatuses.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/actions/groupsearch.php b/actions/groupsearch.php index f0cca7156..55f4cee62 100644 --- a/actions/groupsearch.php +++ b/actions/groupsearch.php @@ -105,7 +105,7 @@ class GroupSearchResults extends GroupList function __construct($user_group, $terms, $action) { - parent::__construct($user_group, $terms, $action); + parent::__construct($user_group, null, $action); $this->terms = array_map('preg_quote', array_map('htmlspecialchars', $terms)); $this->pattern = '/('.implode('|',$terms).')/i'; diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index 87043b182..c589bd9b1 100644 --- a/actions/twitapistatuses.php +++ b/actions/twitapistatuses.php @@ -456,7 +456,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); } @@ -469,7 +469,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); } |