aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-04-21 11:17:40 -0700
committerSteve Clay <steve@mrclay.org>2013-04-21 11:17:40 -0700
commit927673b057549c7e34c4f5aeddf0f4cac75f4f93 (patch)
treee12411f9211b1af60225ebffd9be9e37c0d1d5c0
parent6f3df999223874592b6cf4f8399b5f9a3fa5bbd1 (diff)
parent5e9ad4837cd5539d34e0da0fbaeb486c1ce8ba06 (diff)
downloadelgg-927673b057549c7e34c4f5aeddf0f4cac75f4f93.tar.gz
elgg-927673b057549c7e34c4f5aeddf0f4cac75f4f93.tar.bz2
Merge pull request #5384 from RiverVanRain/patch-1
Minor style fix in twitter-api lib
-rw-r--r--mod/twitter_api/lib/twitter_api.php4
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
+}