X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fchange_password%2Ffunctions.php;h=f956ef7f3eeed2019850c0742f1efe14a4f32814;hp=25d59a66003e5386d7374b51fd558f9dc954e9ca;hb=24024eb7a3db834ca68720cd30fec275af758237;hpb=4b4abf93a9624311afef0c385023724ee46a2b60 diff --git a/plugins/change_password/functions.php b/plugins/change_password/functions.php index 25d59a66..f956ef7f 100644 --- a/plugins/change_password/functions.php +++ b/plugins/change_password/functions.php @@ -3,7 +3,7 @@ /** * functions.php - Change Password plugin * - * @copyright © 2003-2005 The SquirrelMail Project Team + * @copyright © 2003-2007 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -85,11 +85,11 @@ function cpw_do_change() require_once(SM_PATH . 'plugins/change_password/backend/'.$cpw_backend.'.php'); - $msgs = do_hook_function('change_password_dochange', - array ( - 'username' => $username, - 'curpw' => $curpw, - 'newpw' => $newpw + $msgs = do_hook('change_password_dochange', + $temp=array ( + 'username' => &$username, + 'curpw' => &$curpw, + 'newpw' => &$newpw ) ); /* something bad happened, return */ @@ -109,4 +109,3 @@ function cpw_do_change() exit; } -?> \ No newline at end of file