aboutsummaryrefslogtreecommitdiff
path: root/mod/twitter_api/lib/twitter_api.php
diff options
context:
space:
mode:
authorRiverVanRain <river.vanrain@gmail.com>2013-04-20 14:44:33 +0300
committerRiverVanRain <river.vanrain@gmail.com>2013-04-20 14:44:33 +0300
commit5e9ad4837cd5539d34e0da0fbaeb486c1ce8ba06 (patch)
tree7deb8632be47d5ff7e6bc5716524a5d2b079287e /mod/twitter_api/lib/twitter_api.php
parent970d9bc397edaf03b8c8228e78065f51d8736eb0 (diff)
downloadelgg-5e9ad4837cd5539d34e0da0fbaeb486c1ce8ba06.tar.gz
elgg-5e9ad4837cd5539d34e0da0fbaeb486c1ce8ba06.tar.bz2
Minor fix
Diffstat (limited to 'mod/twitter_api/lib/twitter_api.php')
-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
+}