# 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. --- administrator/components/com_comprofiler/controller/controller.default.php +++ administrator/components/com_comprofiler/controller/controller.default.php @@ -1247,7 +1247,7 @@ if( isset( $ueConfig['emailpass'] ) && ( $ueConfig['emailpass'] == "1" ) && ( $row->approved == 0 ) ) { // if we need to generate a random password to be emailed with confirmation, set new random password only at first approval: $row->setRandomPassword(); - $row->storePassword(); + $row->storePassword( false ); } if ($row->approved == 0 && $approved == 1 && $row->confirmed == 1 ) { $row->approved = 1; @@ -1262,7 +1262,7 @@ case 'unblock': $_PLUGINS->trigger( 'onBeforeUserBlocking', array( $row, $actionValue ) ); $row->block = (int) $actionValue; - if ( $row->storeBlock() ) { \ No newline at end of file + if ( $row->storeBlock( false ) ) { \ No newline at end of file // if action is to block a user, delete user acounts active sessions if ( $actionValue == 1 ) { $query = "DELETE FROM #__session"