From: Elin Waring Date: Fri, 24 Apr 2015 11:53:00 +0000 (-0400) Subject: Fix code style X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=009eff215ad12018dd8bbbac0fbdc85ef0c7f114;p=civicrm-core.git Fix code style --- 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)) {