From 009eff215ad12018dd8bbbac0fbdc85ef0c7f114 Mon Sep 17 00:00:00 2001 From: Elin Waring Date: Fri, 24 Apr 2015 07:53:00 -0400 Subject: [PATCH] Fix code style --- CRM/Utils/System/Joomla.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Utils/System/Joomla.php b/CRM/Utils/System/Joomla.php index 9447d5dc20..19e0b5d46b 100644 --- a/CRM/Utils/System/Joomla.php +++ b/CRM/Utils/System/Joomla.php @@ -386,11 +386,11 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { (version_compare(JVERSION, '3.0', 'ge') && version_compare(JVERSION, '3.2.1', 'lt')) ) { // now check password - list($hash, $salt) = explode(':', $dbPassword); - $cryptpass = md5($password . $salt); - if ($hash != $cryptpass) { + list($hash, $salt) = explode(':', $dbPassword); + $cryptpass = md5($password . $salt); + if ($hash != $cryptpass) { return FALSE; - } + } } else { if (!JUserHelper::verifyPassword($password, $dbPassword, $dbId)) { -- 2.25.1