diff options
author | Steve Clay <steve@mrclay.org> | 2013-04-21 11:17:40 -0700 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2013-04-21 11:17:40 -0700 |
commit | 927673b057549c7e34c4f5aeddf0f4cac75f4f93 (patch) | |
tree | e12411f9211b1af60225ebffd9be9e37c0d1d5c0 /mod/twitter_api/lib/twitter_api.php | |
parent | 6f3df999223874592b6cf4f8399b5f9a3fa5bbd1 (diff) | |
parent | 5e9ad4837cd5539d34e0da0fbaeb486c1ce8ba06 (diff) | |
download | elgg-927673b057549c7e34c4f5aeddf0f4cac75f4f93.tar.gz elgg-927673b057549c7e34c4f5aeddf0f4cac75f4f93.tar.bz2 |
Merge pull request #5384 from RiverVanRain/patch-1
Minor style fix in twitter-api lib
Diffstat (limited to 'mod/twitter_api/lib/twitter_api.php')
-rw-r--r-- | mod/twitter_api/lib/twitter_api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/twitter_api/lib/twitter_api.php b/mod/twitter_api/lib/twitter_api.php index a6d005287..a7b971876 100644 --- a/mod/twitter_api/lib/twitter_api.php +++ b/mod/twitter_api/lib/twitter_api.php @@ -115,7 +115,7 @@ function twitter_api_login() { $forward = $login_metadata['forward']; } - if (!isset($token['oauth_token']) or !isset($token['oauth_token_secret'])) { + if (!isset($token['oauth_token']) || !isset($token['oauth_token_secret'])) { register_error(elgg_echo('twitter_api:login:error')); forward(); } @@ -380,4 +380,4 @@ function twitter_api_allow_new_users_with_twitter() { } return false; -}
\ No newline at end of file +} |