Incorrect method name for changeUserPassword

This commit is contained in:
Christopher York 2013-08-22 22:57:28 -05:00
parent 4d01eba23f
commit 2f148722fa

View file

@ -310,10 +310,10 @@ function websitepanel_ChangePassword($params)
else
{
// Attempt to change the user's account password
$result = $wsp->change_user_password($user['UserId'], $password);
$result = $wsp->changeUserPassword($user['UserId'], $password);
if ($result >= 0)
{
// Log this action for logging / tracking purposes incase the client complains we have record of what went on and why
// Log this action for logging / tracking purposes incase the client complains we have record of what went on and why
logActivity("Control Panel Password Updated - Service ID: {$serviceId}", $userId);
// Success - Alert WHMCS