From e5c84332072ec3d07b8978c1a2b02dfcf477bee6 Mon Sep 17 00:00:00 2001 From: PrplHaz4 Date: Fri, 18 Jan 2013 11:04:37 -0500 Subject: [PATCH] Fix typo in loginByTwitter() Correctly set login_type for loginByTwitter() --- user/controllers/YumAuthController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/controllers/YumAuthController.php b/user/controllers/YumAuthController.php index 1f0d4ba..066fef6 100644 --- a/user/controllers/YumAuthController.php +++ b/user/controllers/YumAuthController.php @@ -287,7 +287,7 @@ public function actionLogin() { $login_type = 'facebook'; } if ($t & UserModule::LOGIN_BY_TWITTER && !$success) { - $sucess = $this->loginByTwitter(); + $success = $this->loginByTwitter(); if ($success) $login_type = 'twitter'; }