# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: Joomla root # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/comprofiler.php +++ components/com_comprofiler/comprofiler.php @@ -905,7 +905,7 @@ $user = CBuser::getUserDataInstance( (int) $user_id ); $user->password = $newpass; - if ( ! $user->storePassword() ) { + if ( ! $user->storePassword( false ) ) { die("SQL error" . $user->getError()); } cbRedirect( cbSef("index.php?option=$option&task=done".($Itemid ? "&Itemid=". (int) $Itemid : ""), false ), sprintf( _UE_NEWPASS_SENT, htmlspecialchars( $confirmEmail ) ) ); @@ -1625,9 +1625,9 @@ return; } $user->approved = 1; - $user->storeApproved(); + $user->storeApproved( false ); if ( $ueConfig['emailpass'] == "1" ) { - $user->storePassword(); + $user->storePassword( false ); } $_PLUGINS->trigger( 'onAfterUserApproval', array( $user, true, true ) ); activateUser($user, 1, "UserApproval", false);