Merge commit 'refs/merge-requests/1723' of git://gitorious.org/statusnet/mainline into 0.8.x
This commit is contained in:
commit
006cfc528e
@ -106,7 +106,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';
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -981,7 +981,7 @@ function common_set_returnto($url)
|
||||
function common_get_returnto()
|
||||
{
|
||||
common_ensure_session();
|
||||
return $_SESSION['returnto'];
|
||||
return (array_key_exists('returnto', $_SESSION)) ? $_SESSION['returnto'] : null;
|
||||
}
|
||||
|
||||
function common_timestamp()
|
||||
|
Loading…
Reference in New Issue
Block a user